synapse : fix healthcheck postgresql
This commit is contained in:
parent
66bd4d1f70
commit
56b3d4a03c
|
@ -6,7 +6,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- matrixdotorg_synapse-pgsql:/var/lib/postgresql/data/:Z
|
- matrixdotorg_synapse-pgsql:/var/lib/postgresql/data/:Z
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
test: ["CMD-SHELL", "pg_isready -U synapse"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
Loading…
Reference in a new issue