feat(autoheal): Add docker-compose configuration for autoheal service

This commit is contained in:
2026-03-03 00:32:03 +00:00
parent c38a33d662
commit 402b988549

View File

@@ -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