0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-11 20:07:42 +01:00

Set default ACME_DIRECTORY for Docker installs to somewhere in a volume

With the previous default, ACME certificates and accounts would be lost upon restarting the container because only the /data folder is bound to a (writable) volume in the suggested docker-compose.yml from the docs.
This commit is contained in:
Sainan 2025-11-04 13:45:50 +01:00
parent 850012bf5c
commit 85be79401e
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ DISABLE_SSH = $DISABLE_SSH
SSH_PORT = $SSH_PORT
SSH_LISTEN_PORT = $SSH_LISTEN_PORT
LFS_START_SERVER = $LFS_START_SERVER
ACME_DIRECTORY = /data/gitea/acme
[database]
PATH = /data/gitea/gitea.db

View File

@ -23,6 +23,7 @@ SSH_PORT = $SSH_PORT
SSH_LISTEN_PORT = $SSH_LISTEN_PORT
BUILTIN_SSH_SERVER_USER = $RUN_USER
LFS_START_SERVER = $LFS_START_SERVER
ACME_DIRECTORY = /data/gitea/acme
[database]
PATH = $GITEA_WORK_DIR/data/gitea.db