autoheal: opt-in mode (AUTOHEAL_CONTAINER_LABEL all->autoheal)

Fleet-wide fix matching the vm-db precedent (e3a0ab5). In all-mode autoheal
restarts ANY container Docker marks unhealthy, so a healthcheck that blips
under load (redis-cli ping timing out) triggers an endless restart loop of a
healthy container -- observed on docs 2026-08-14 (paperless-redis +
docs_watchtower). Opt-in heals only containers labelled autoheal=true; real
crashes stay covered by restart: unless-stopped.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
Your Name
2026-08-14 08:05:37 -04:00
co-authored by Claude Opus 4.8
parent d1a76f9961
commit c08903d2be
2 changed files with 2 additions and 2 deletions
@@ -166,7 +166,7 @@ services:
container_name: autoheal
restart: unless-stopped
environment:
- AUTOHEAL_CONTAINER_LABEL=all
- AUTOHEAL_CONTAINER_LABEL=autoheal
- AUTOHEAL_INTERVAL=15
- AUTOHEAL_START_PERIOD=60
- AUTOHEAL_DEFAULT_STOP_TIMEOUT=30