watchtower

version: '3.8'
services:
  watchtower:
    container_name: watchtower
    image: containrrr/watchtower:latest
    restart: unless-stopped
    ports:
      - "8888:8080"
    environment:
      PUID: 1000
      PGID: 988
      TZ: Europe/Paris
      WATCHTOWER_SCHEDULE: 0 0 4 * * 1 
      WATCHTOWER_LABEL_ENABLE: true
      WATCHTOWER_CLEANUP: true
      WATCHTOWER_INCLUDE_RESTARTING: true
      WATCHTOWER_HTTP_API_TOKEN: centurylinklabs
      
    volumes:
      - ./watchtower/.docker/config.json:/config.json
      - /var/run/docker.sock:/var/run/docker.sock

Mis à jour