Add a healthcheck for the backup container

This commit is contained in:
Claudio Ortolina
2026-03-30 11:40:20 +01:00
parent b3e06ef809
commit f16fc79e60
+4 -1
View File
@@ -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