forked from Nixius/authelia
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:
parent
ab11e62c04
commit
75b63ca923
|
|
@ -35,8 +35,10 @@ services:
|
||||||
GITEA__server__DOMAIN: "{{.Subdomain}}.{{.Domain}}"
|
GITEA__server__DOMAIN: "{{.Subdomain}}.{{.Domain}}"
|
||||||
GITEA__server__ROOT_URL: "https://{{.Subdomain}}.{{.Domain}}"
|
GITEA__server__ROOT_URL: "https://{{.Subdomain}}.{{.Domain}}"
|
||||||
GITEA__server__HTTP_PORT: "3000"
|
GITEA__server__HTTP_PORT: "3000"
|
||||||
|
GITEA__security__INSTALL_LOCK: "true"
|
||||||
volumes:
|
volumes:
|
||||||
- gitea_data:/var/lib/gitea
|
- gitea_data:/var/lib/gitea
|
||||||
|
- gitea_config:/etc/gitea
|
||||||
networks:
|
networks:
|
||||||
- traefik_net
|
- traefik_net
|
||||||
- backend
|
- backend
|
||||||
|
|
@ -78,5 +80,7 @@ networks:
|
||||||
volumes:
|
volumes:
|
||||||
gitea_data:
|
gitea_data:
|
||||||
driver: local
|
driver: local
|
||||||
|
gitea_config:
|
||||||
|
driver: local
|
||||||
db_data:
|
db_data:
|
||||||
driver: local
|
driver: local
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue