TEST: Complex docker-compose rework. Not tested yet

This commit is contained in:
2025-08-25 19:14:43 +02:00
parent 455485ed24
commit d5f483dbc8
23 changed files with 301 additions and 106 deletions

6
watchtower/.env.example Normal file
View File

@@ -0,0 +1,6 @@
# Timezone for watchtower
TZ=Europe/Warsaw
# A space-separated list of container names for Watchtower to monitor.
# For example: WATCHTOWER_CONTAINERS="nginx-proxy-manager bookstack"
WATCHTOWER_CONTAINERS=""

View File

@@ -0,0 +1,13 @@
services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_INCLUDE_STOPPED=true
- WATCHTOWER_POLL_INTERVAL=3600
- TZ=${TZ}
command: ${WATCHTOWER_CONTAINERS}
restart: unless-stopped