diff --git a/compose.yaml b/compose.yaml index 9d50e8b9..ffb3ca76 100644 --- a/compose.yaml +++ b/compose.yaml @@ -44,7 +44,10 @@ services: entrypoint: /usr/local/bin/litestream command: replicate -config /opt/litestream/litestream.yaml healthcheck: - disable: true + test: ["CMD", "litestream", "databases", "-config", "/opt/litestream/litestream.yaml"] + interval: 30s + timeout: 10s + retries: 3 environment: - LITESTREAM_ACCESS_KEY_ID - LITESTREAM_SECRET_ACCESS_KEY