add health check for borgmatic

This commit is contained in:
2024-12-06 16:10:30 +01:00
parent 6e6d05db7a
commit f4e298e7c5

View File

@@ -4,6 +4,12 @@ services:
environment:
- TZ=Europe/Amsterdam
image: b3vis/borgmatic:v1.1.10-1.4.21
healthcheck:
test: [ "CMD", "pgrep", "crond" ]
interval: 20s
start_period: 30s
timeout: 5s
retries: 10
privileged: true
restart: unless-stopped
volumes: