DockerProduction/Overhead/watchtower/docker-compose.yml

16 lines
646 B
YAML
Raw Normal View History

2022-03-14 18:28:51 +00:00
version: '3.8'
2022-03-14 18:24:28 +00:00
services:
watchtower:
2022-03-14 18:28:51 +00:00
image: containrrr/watchtower:latest
container_name: watchtower
environment:
WATCHTOWER_MONITOR_ONLY: 'true'
WATCHTOWER_NOTIFICATIONS: email
WATCHTOWER_NOTIFICATION_EMAIL_FROM: techopsalerts@turnsys.com
WATCHTOWER_NOTIFICATION_EMAIL_TO: prodtechopsalerts@turnsys.com
# you have to use a network alias here, if you use your own certificate
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: pfv-toolbox.turnsys.net
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: 25
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 2
2022-03-14 18:24:28 +00:00
volumes:
- /var/run/docker.sock:/var/run/docker.sock