mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-25 22:37:00 +03:00
mount postgres in a subdir to avoid clashing with .gitkeep
This commit is contained in:
@@ -114,6 +114,7 @@ services:
|
|||||||
POSTGRES_USER: matrix # FIXME: use different username+passwords for synapse & MAS DBs.
|
POSTGRES_USER: matrix # FIXME: use different username+passwords for synapse & MAS DBs.
|
||||||
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
|
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
|
||||||
POSTGRES_INITDB_ARGS: --encoding=UTF8 --locale=C
|
POSTGRES_INITDB_ARGS: --encoding=UTF8 --locale=C
|
||||||
|
PGDATA: /var/lib/postgresql/data/data # otherwise it clashes with .gitkeep in the parent dir
|
||||||
secrets:
|
secrets:
|
||||||
- postgres_password
|
- postgres_password
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|||||||
Reference in New Issue
Block a user