healthcheck

This commit is contained in:
olli 2024-08-20 15:12:13 +02:00
parent ebfa2ac39b
commit 0ec9e33484

View File

@ -373,6 +373,11 @@
image: docker.io/matrixdotorg/synapse:latest
restart: unless-stopped
user: 3000:3000
healthcheck:
timeout: 30s
retries: 3
start_period: 300s
interval: 15s
volumes:
- ./data:/data
- /etc/localtime:/etc/localtime:ro
@ -558,6 +563,9 @@
- ${pipe}:/${pipebasename}
entrypoint: /bin/bash -c 'cd /data && tail -F \"/${pipebasename}\" | /app/matrix_commander/matrix-commander -m _ --html --room \"$room\" --log-level INFO INFO'
restart: unless-stopped
depends_on:
matrix.defiant.dedyn.io--synapse:
condition: service_healthy
" >> docker-compose.override.yml.new
done