This commit is contained in:
2025-03-23 16:24:50 +01:00
parent 54149deda8
commit 49aaf5bb25
31 changed files with 1558 additions and 1721 deletions

View File

@ -1,48 +1,48 @@
version: "3"
services:
watchtower:
env_file: stack.env
image: ${DOCKER_REGISTRY:-}containrrr/watchtower:latest
command: --cleanup --label-enable --http-api-periodic-polls --http-api-metrics
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- /share/docker_data/watchtower/.docker/config.json:/config.json
env_file: stack.env
environment:
WATCHTOWER_NOTIFICATIONS: "email shoutrrr"
WATCHTOWER_NOTIFICATION_EMAIL_FROM: "sectorq77@gmail.com"
WATCHTOWER_NOTIFICATION_EMAIL_TO: "jaydee@sectorq.eu"
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: "smtp.gmail.com"
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: "465"
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: "sectorq77"
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: "uuhmmedfsjddmgbg"
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: "2"
WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG: "NewUpdates"
WATCHTOWER_NOTIFICATIONS_HOSTNAME: "M-SERVER"
WATCHTOWER_LABEL_ENABLE: "true"
WATCHTOWER_NOTIFICATIONS_LEVEL: "debug"
WATCHTOWER_LIFECYCLE_HOOKS: "true"
WATCHTOWER_POLL_INTERVAL: 43200
WATCHTOWER_HTTP_API_TOKEN: l4c1j4yd33Du5lo
WATCHTOWER_LABEL_ENABLE: 'true'
WATCHTOWER_LIFECYCLE_HOOKS: 'true'
WATCHTOWER_NOTIFICATIONS: email shoutrrr
WATCHTOWER_NOTIFICATIONS_HOSTNAME: M-SERVER
WATCHTOWER_NOTIFICATIONS_LEVEL: debug
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: '2'
WATCHTOWER_NOTIFICATION_EMAIL_FROM: sectorq77@gmail.com
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: smtp.gmail.com
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: uuhmmedfsjddmgbg
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: '465'
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: sectorq77
WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG: NewUpdates
WATCHTOWER_NOTIFICATION_EMAIL_TO: jaydee@sectorq.eu
WATCHTOWER_POLL_INTERVAL: 43200
image: ${DOCKER_REGISTRY:-}containrrr/watchtower:latest
labels:
- com.centurylinklabs.watchtower.enable=true
- homepage.group=Infrastructure
- homepage.name=Watchtower
- homepage.weight=100
- homepage.icon=watchtower.png
- homepage.href=http://192.168.77.101:8094
- homepage.description=Docker container monitoring
- homepage.server=my-docker
- homepage.container=watchtower-watchtower-1
- homepage.widget.type=watchtower
- homepage.widget.url=http://192.168.77.101:8094
- homepage.widget.key=l4c1j4yd33Du5lo
ports:
- 8094:8080
restart: always
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: watchtower-watchtower-1
homepage.description: Docker container monitoring
homepage.group: Infrastructure
homepage.href: http://192.168.77.101:8094
homepage.icon: watchtower.png
homepage.name: Watchtower
homepage.server: my-docker
homepage.weight: '100'
homepage.widget.key: l4c1j4yd33Du5lo
homepage.widget.type: watchtower
homepage.widget.url: http://192.168.77.101:8094
wud.watch.digest: true
logging:
driver: loki
options:
loki-url: "http://192.168.77.101:3100/loki/api/v1/push"
loki-url: http://192.168.77.101:3100/loki/api/v1/push
ports:
- 8094:8080
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- /share/docker_data/watchtower/.docker/config.json:/config.json
version: '3'