mirror of
https://github.com/ArcticFoxes-net/Synapse-Docker-Compose.git
synced 2024-10-01 08:25:44 -04:00
Add postgres healthcheck
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
8ab7c6f66e
commit
81e933e77c
@ -45,6 +45,10 @@ services:
|
||||
- ./schemas:/var/lib/postgresql/data:Z
|
||||
networks:
|
||||
- postgres
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-U", "synapse"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
#user: "70:70"
|
||||
#read_only: true
|
||||
#security_opt:
|
||||
|
Loading…
Reference in New Issue
Block a user