14 lines
335 B
YAML
14 lines
335 B
YAML
services:
|
|
autoheal:
|
|
image: willfarrell/autoheal:1.2.0
|
|
container_name: autoheal
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- AUTOHEAL_CONTAINER_LABEL=all
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pgrep -f autoheal || exit 1"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|