diff --git a/podman-matrix/container-compose.yml b/podman-matrix/container-compose.yml index 3856d8f..e6c7601 100644 --- a/podman-matrix/container-compose.yml +++ b/podman-matrix/container-compose.yml @@ -18,6 +18,12 @@ services: - ${listen_if}:${listen_port}:8008 volumes: - matrixdotorg_synapse-data:/data:Z + healthcheck: + test: ["CMD", "curl", "-fSs", "http://localhost:8008/health"] + interval: 15s + timeout: 5s + retries: 3 + start_period: 5s depends_on: synapse-db: condition: service_healthy