From 402b98854969c8b3f085b8cd96394aa64ef3f460 Mon Sep 17 00:00:00 2001 From: Nathan Falvey Date: Tue, 3 Mar 2026 00:32:03 +0000 Subject: [PATCH] feat(autoheal): Add docker-compose configuration for autoheal service --- templates/autoheal/docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/templates/autoheal/docker-compose.yml b/templates/autoheal/docker-compose.yml index e69de29..28e5dbc 100644 --- a/templates/autoheal/docker-compose.yml +++ b/templates/autoheal/docker-compose.yml @@ -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 \ No newline at end of file