Infra_ansible_dockercompose/stacks/autoheal/compose.yml
Tellsanguis fd01ea59ee Commit initial : infrastructure Ansible pour homeserver
- Playbooks Ansible avec rôles (common, cockpit, docker, services)
- 30+ stacks Docker Compose avec reverse proxy Traefik
- Ansible Vault pour gestion secrets
- Intégration CrowdSec pour détection intrusions
- Versions images Docker fixées pour reproductibilité
2025-11-23 19:40:17 +01:00

15 lines
447 B
YAML

services:
autoheal:
container_name: autoheal
image: willfarrell/autoheal:1.2.0
restart: always
environment:
AUTOHEAL_CONTAINER_LABEL: all
AUTOHEAL_INTERVAL: 5
AUTOHEAL_START_PERIOD: 0
AUTOHEAL_DEFAULT_STOP_TIMEOUT: 10
AUTOHEAL_ONLY_MONITOR_RUNNING: false
DOCKER_SOCK: /var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro