feat(autoheal): Add docker-compose configuration for autoheal service
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
autoheal:
|
||||
deploy:
|
||||
replicas: 1
|
||||
environment:
|
||||
- AUTOHEAL_CONTAINER_LABEL=all
|
||||
- AUTOHEAL_ONLY_MONITOR_RUNNING=false
|
||||
- AUTOHEAL_DEFAULT_STOP_TIMEOUT=30
|
||||
- AUTOHEAL_START_PERIOD=0
|
||||
- AUTOHEAL_INTERVAL=180
|
||||
image: willfarrell/autoheal:latest
|
||||
network_mode: none
|
||||
restart: always
|
||||
container_name: auto-heal
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
Reference in New Issue
Block a user