File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
version : ' 3'
2
2
3
+ networks :
4
+ traefik :
5
+ external : true
3
6
4
- # description: Utomatically updates docker containers
7
+ # description: Automatically updates docker containers
5
8
# https://github.com/containrrr/watchtower
6
9
# https://containrrr.dev/watchtower/notifications/
7
10
@@ -10,6 +13,9 @@ services:
10
13
image : ghcr.io/containrrr/watchtower:${WATCHTOWER_DOCKER_TAG:-latest}
11
14
container_name : ${WATCHTOWER_CONTAINER_NAME:-watchtower}
12
15
restart : ${WATCHTOWER_RESTART:-unless-stopped}
16
+ # so homepage can talk to it directly
17
+ networks :
18
+ - traefik
13
19
environment :
14
20
- TZ=${TZ}
15
21
- WATCHTOWER_NOTIFICATIONS_HOSTNAME=${WATCHTOWER_NOTIFICATIONS_HOSTNAME:-${HOST_NAME}.${HOST_DOMAIN}}
@@ -18,6 +24,7 @@ services:
18
24
- WATCHTOWER_NOTIFICATION_URL=${WATCHTOWER_NOTIFICATION_URL}
19
25
- WATCHTOWER_SCHEDULE=${WATCHTOWER_SCHEDULE:-0 0 4 * * *}
20
26
- WATCHTOWER_HTTP_API_METRICS=${WATCHTOWER_HTTP_API_METRICS:-false}
27
+ - WATCHTOWER_HTTP_API_TOKEN=${WATCHTOWER_HTTP_API_TOKEN:-watchtower_secret_token}
21
28
- WATCHTOWER_CLEANUP=${WATCHTOWER_CLEANUP:-false}
22
29
volumes :
23
30
- /var/run/docker.sock:/var/run/docker.sock
You can’t perform that action at this time.
0 commit comments