add health check for borgmatic
This commit is contained in:
@@ -4,6 +4,12 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Amsterdam
|
- TZ=Europe/Amsterdam
|
||||||
image: b3vis/borgmatic:v1.1.10-1.4.21
|
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
|
privileged: true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user