TEST: Complex docker-compose rework. Not tested yet
This commit is contained in:
6
watchtower/.env.example
Normal file
6
watchtower/.env.example
Normal 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=""
|
||||
13
watchtower/docker-compose.yaml
Normal file
13
watchtower/docker-compose.yaml
Normal 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
|
||||
Reference in New Issue
Block a user