mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-03-28 18:03:49 +00:00
feat: password env variable
This commit is contained in:
@@ -220,7 +220,7 @@ services:
|
||||
- VIRTUAL_PORT=8008
|
||||
- SYNAPSE_POSTGRES_HOST=db-matrix
|
||||
- SYNAPSE_POSTGRES_USER=synapse
|
||||
- SYNAPSE_POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
- SYNAPSE_POSTGRES_PASSWORD=${SYNAPSE_PASSWORD}
|
||||
- SYNAPSE_POSTGRES_DB=synapse
|
||||
networks:
|
||||
- web-network
|
||||
@@ -244,7 +244,7 @@ services:
|
||||
- VIRTUAL_PORT=3000
|
||||
- GITEA__server__DOMAIN=git.${HOSTNAME}
|
||||
- GITEA__server__ROOT_URL=https://git.${HOSTNAME}/
|
||||
# - DISABLE_REGISTRATION=true # Private instance security
|
||||
- GITEA__service__DISABLE_REGISTRATION=true
|
||||
volumes:
|
||||
- ./data/gitea:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
@@ -263,7 +263,7 @@ services:
|
||||
- LETSENCRYPT_HOST=mirror.${HOSTNAME}
|
||||
- LETSENCRYPT_EMAIL=${EMAIL}
|
||||
- VIRTUAL_PORT=4321
|
||||
- BETTER_AUTH_SECRET=${GITHUB_AUTH_SECRET}
|
||||
- BETTER_AUTH_SECRET=${MIRROR_AUTH_SECRET}
|
||||
- BETTER_AUTH_TRUSTED_ORIGINS=https://mirror.${HOSTNAME}
|
||||
volumes:
|
||||
- gitea-mirror-data:/app/data
|
||||
|
||||
Reference in New Issue
Block a user