fix: thread STACK_NAME again

This commit is contained in:
decentral1se 2021-12-13 12:50:01 +01:00
parent 8ab11e14a8
commit 789d5d0745
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ services:
POSTGRES_PASSWORD_FILE: /run/secrets/db_password
# https://matrix-org.github.io/synapse/latest/postgres.html#set-up-database
POSTGRES_INITDB_ARGS: "--encoding=UTF-8 --lc-collate=C --lc-ctype=C"
STACK_NAME:
STACK_NAME: ${STACK_NAME}
networks:
- internal
healthcheck:

View File

@ -767,7 +767,7 @@ database:
user: synapse
password: {{ env "db_password" }}
database: synapse
host: "{{ env "STACK_NAME"}}_db"
host: {{ env "STACK_NAME" }}_db
port: 5432
cp_min: 5
cp_max: 10