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:
parent
850012bf5c
commit
85be79401e
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user