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é
This commit is contained in:
commit
fd01ea59ee
125 changed files with 4768 additions and 0 deletions
25
stacks/watchtower/compose.yml
Normal file
25
stacks/watchtower/compose.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower:1.7.1
|
||||
container_name: watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
# Mode monitor-only : ne met pas à jour, notifie seulement
|
||||
- WATCHTOWER_MONITOR_ONLY=true
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_INCLUDE_RESTARTING=true
|
||||
- WATCHTOWER_LABEL_ENABLE=true
|
||||
- WATCHTOWER_POLL_INTERVAL=43200 # 12h
|
||||
# Notifications via Gotify
|
||||
- WATCHTOWER_NOTIFICATIONS=gotify
|
||||
- WATCHTOWER_NOTIFICATION_GOTIFY_URL=${WATCHTOWER_GOTIFY_URL}
|
||||
- WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN=${WATCHTOWER_GOTIFY_TOKEN}
|
||||
networks:
|
||||
- traefik_network
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
traefik_network:
|
||||
external: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue