Virtually...

it's all about IT

Uncategorised

All Along the WATCHTOWER!

pwlgrzs

Run from docker-compose:

version: “3.8”
services:
 watchtower:
   image: containrrr/watchtower:latest
   container_name: watchtower
   environment:
     – TZ=Europe/Warsaw
     – WATCHTOWER_CLEANUP=true
     – WATCHTOWER_INCLUDE_STOPPED=true
     – WATCHTOWER_REVIVE_STOPPED=false
     – WATCHTOWER_SCHEDULE=0 0 2 * * *
     – WATCHTOWER_ROLLING_RESTART=true
   volumes:
     – /var/run/docker.sock:/var/run/docker.sock
   restart: unless-stopped

Refer to docs for additional variables/changes to above: Arguments – Watchtower (containrrr.dev)

Tags:
Back to top