Persist Gitea sessions across deployments

Hop-State: A_06FNB8FT1R0PTP3714DKX4R
Hop-Proposal: R_06FNB8F6MX8E54KXGS48WK8
Hop-Task: T_06FNB715NCG0M3SVDJAGHY8
Hop-Attempt: AT_06FNB715NCK5MKAVH59TE0G
This commit is contained in:
2026-07-12 02:21:46 -07:00
committed by Hop
parent 6be764ec6e
commit ff25f26b6c
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -18,6 +18,10 @@ GITEA_DISABLE_REGISTRATION=true
GITEA_ACTIONS_ENABLED=false
```
Keep `GITEA__session__PROVIDER=db` in the Compose service. Gitea otherwise
defaults to in-memory sessions, which signs every user out whenever the
container restarts.
Start the services and install the Hop-native Gitea assets:
```sh