-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
29 lines (27 loc) · 826 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: '3'
services:
watchtower:
container_name: watchtower
image: containrrr/watchtower
restart: unless-stopped
privileged: true
volumes:
- /home/pi/.docker/config.json:/config.json
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
environment:
NO_COLOR: true
WATCHTOWER_CLEANUP: true
WATCHTOWER_INCLUDE_STOPPED: true
WATCHTOWER_INCLUDE_RESTARTING: true
WATCHTOWER_ROLLING_RESTART: true
WATCHTOWER_NOTIFICATIONS: gotify
WATCHTOWER_NOTIFICATION_GOTIFY_URL: http://gotify
WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN: ${GOTIFY_URL}
WATCHTOWER_NOTIFICATIONS_HOSTNAME: "Adam - Watchtower"
networks:
- nginx-proxy
networks:
nginx-proxy:
external: true