Compare commits
3 commits
80dc6bc895
...
c47deeeb6b
Author | SHA1 | Date | |
---|---|---|---|
c47deeeb6b | |||
fa245404e6 | |||
17be38591e |
|
@ -21,7 +21,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- database:/var/lib/postgresql/data
|
- database:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
test: ["CMD-SHELL", "pg_isready -U hedgedoc"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
|
@ -22,8 +22,8 @@ fi
|
||||||
|
|
||||||
cat <<EOT >> .env
|
cat <<EOT >> .env
|
||||||
POSTGRES_PASSWORD=${GARBAYE_MATRIX_POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD=${GARBAYE_MATRIX_POSTGRES_PASSWORD}
|
||||||
POSTGRES_USER=${container_name}
|
POSTGRES_USER=synapse
|
||||||
POSTGRES_DB=${container_name}
|
POSTGRES_DB=synapse
|
||||||
POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale=C
|
POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale=C
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- database:${database_path}:Z
|
- database:${database_path}:Z
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
test: ["CMD-SHELL", "pg_isready -U vaultwarden"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
Loading…
Reference in a new issue