2024-05-29 10:11:25 -03:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
watchtower:
|
|
|
|
container_name: watchtower
|
2024-05-31 21:04:08 -03:00
|
|
|
restart: unless-stopped
|
2024-05-29 10:11:25 -03:00
|
|
|
image: containrrr/watchtower
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
environment:
|
|
|
|
- WATCHTOWER_CLEANUP=true
|
|
|
|
- WATCHTOWER_REMOVE_VOLUMES=true
|
|
|
|
- WATCHTOWER_INCLUDE_RESTARTING=true
|
|
|
|
- WATCHTOWER_POLL_INTERVAL=7200
|
2024-06-03 00:50:54 -03:00
|
|
|
- WATCHTOWER_DISABLE_CONTAINERS="pihole atm3 handbrake"
|
2024-05-31 21:01:21 -03:00
|
|
|
env_file:
|
2024-05-31 21:14:27 -03:00
|
|
|
- ../stack.env
|
2024-05-29 10:11:25 -03:00
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
name: "ubuntu-server"
|
|
|
|
external: true
|