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
|
POSTGRES_PASSWORD_FILE: /run/secrets/db_password
|
||||||
# https://matrix-org.github.io/synapse/latest/postgres.html#set-up-database
|
# https://matrix-org.github.io/synapse/latest/postgres.html#set-up-database
|
||||||
POSTGRES_INITDB_ARGS: "--encoding=UTF-8 --lc-collate=C --lc-ctype=C"
|
POSTGRES_INITDB_ARGS: "--encoding=UTF-8 --lc-collate=C --lc-ctype=C"
|
||||||
STACK_NAME:
|
STACK_NAME: ${STACK_NAME}
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
|
@ -767,7 +767,7 @@ database:
|
||||||
user: synapse
|
user: synapse
|
||||||
password: {{ env "db_password" }}
|
password: {{ env "db_password" }}
|
||||||
database: synapse
|
database: synapse
|
||||||
host: "{{ env "STACK_NAME"}}_db"
|
host: {{ env "STACK_NAME" }}_db
|
||||||
port: 5432
|
port: 5432
|
||||||
cp_min: 5
|
cp_min: 5
|
||||||
cp_max: 10
|
cp_max: 10
|
||||||
|
|
Loading…
Reference in New Issue