website/_posts/2021-08-07-docker-watchtower.md
2021-08-31 18:26:27 +02:00

583 B

layout title description author image categories comments
post WatchTower Docker WatchTower sthope watchtower-logo.png
Docker
WatchTower
true

WatchTower

  1. Create and run Portainer Stack:
---
version: "3.8"
services:
  watchtower:
    container_name: watchtower
    image: containrrr/watchtower
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - TZ=Europe/Amsterdam
      - WATCHTOWER_CLEANUP=true
      - WATCHTOWER_POLL_INTERVAL=86400
      - WATCHTOWER_LABEL_ENABLE=true