mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-25 14:31:09 +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_PASSWORD_FILE: /run/secrets/postgres_password
|
||||
POSTGRES_INITDB_ARGS: --encoding=UTF8 --locale=C
|
||||
PGDATA: /var/lib/postgresql/data/data # otherwise it clashes with .gitkeep in the parent dir
|
||||
secrets:
|
||||
- postgres_password
|
||||
healthcheck:
|
||||
|
||||
Reference in New Issue
Block a user