Skip to content

Commit

Permalink
Set up watchtower notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
karashiiro committed Aug 3, 2021
1 parent 6db8dcb commit 8a466dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ services:
network_mode: "host"
watchtower:
image: containrrr/watchtower
environment:
WATCHTOWER_NOTIFICATIONS: shoutrrr
WATCHTOWER_NOTIFICATION_URL: "discord://${UNIVERSALIS_DISCORD_BOT_TOKEN}@868169460983431178"
WATCHTOWER_NOTIFICATION_TEMPLATE: "{{range .}}{{.Time.Format \"2006-01-02 15:04:05\"}} ({{.Level}}): {{.Message}}{{println}}{{end}}"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/universalis/.docker/config.json:/config.json
Expand Down

0 comments on commit 8a466dd

Please sign in to comment.