-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
executable file
·35 lines (33 loc) · 1.62 KB
/
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
30
31
32
33
34
35
# Installation: https://hub.docker.com/r/containrrr/watchtower
services:
watchtower:
image: containrrr/watchtower:1.7.1
container_name: watchtower
environment:
- WATCHTOWER_SCHEDULE=${WATCHTOWER_SCHEDULE}
- WATCHTOWER_ROLLING_RESTART=${WATCHTOWER_ROLLING_RESTART}
- WATCHTOWER_LABEL_ENABLE=${WATCHTOWER_LABEL_ENABLE}
- WATCHTOWER_CLEANUP=${WATCHTOWER_CLEANUP}
- WATCHTOWER_DEBUG=${WATCHTOWER_DEBUG}
- WATCHTOWER_TIMEOUT=${WATCHTOWER_TIMEOUT}
- TZ=${WATCHTOWER_TZ}
- DOCKER_TLS_VERIFY=${WATCHTOWER_DOCKER_TLS_VERIFY}
- DOCKER_HOST=${WATCHTOWER_DOCKER_HOST} # Example: DOCKER_HOST="tcp://10.0.1.2:2375"
- WATCHTOWER_NOTIFICATIONS=${WATCHTOWER_NOTIFICATIONS}
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=${WATCHTOWER_NOTIFICATION_EMAIL_FROM}
- WATCHTOWER_NOTIFICATION_EMAIL_TO=${WATCHTOWER_NOTIFICATION_EMAIL_TO}
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=${WATCHTOWER_NOTIFICATION_EMAIL_SERVER}
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT}
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_TLS_SKIP_VERIFY=${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_TLS_SKIP_VERIFY}
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER}
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD}
- WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG=${WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
networks:
- proxy
networks:
proxy:
driver: bridge
external: true