forked from Nixius/authelia
1
0
Fork 0

Persist Gitea config and skip install wizard

Add gitea_config volume for /etc/gitea so app.ini survives restarts.
Set INSTALL_LOCK=true to skip the setup wizard since all config is
provided via environment variables.

Made-with: Cursor
This commit is contained in:
Leopere 2026-03-03 18:32:29 -05:00
parent ab11e62c04
commit 75b63ca923
Signed by: colin
SSH Key Fingerprint: SHA256:nRPCQTeMFLdGytxRQmPVK9VXY3/ePKQ5lGRyJhT5DY8
1 changed files with 4 additions and 0 deletions

View File

@ -35,8 +35,10 @@ services:
GITEA__server__DOMAIN: "{{.Subdomain}}.{{.Domain}}"
GITEA__server__ROOT_URL: "https://{{.Subdomain}}.{{.Domain}}"
GITEA__server__HTTP_PORT: "3000"
GITEA__security__INSTALL_LOCK: "true"
volumes:
- gitea_data:/var/lib/gitea
- gitea_config:/etc/gitea
networks:
- traefik_net
- backend
@ -78,5 +80,7 @@ networks:
volumes:
gitea_data:
driver: local
gitea_config:
driver: local
db_data:
driver: local