added healthchecks and removed exposed password from compose.yaml
This commit is contained in:
@@ -19,6 +19,12 @@ services:
|
||||
options:
|
||||
max-size: "50m"
|
||||
max-file: "3"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
synapse-foxgirls:
|
||||
image: matrixdotorg/synapse:latest
|
||||
|
||||
Reference in New Issue
Block a user