fix: thread STACK_NAME again
This commit is contained in:
parent
8ab11e14a8
commit
789d5d0745
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue