novamaxx

Watchtower Docker Compose (Synology)

Jan 5th, 2025 (edited)
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.25 KB | Source Code | 0 0
  1. services:
  2.   watchtower:
  3.     image: containrrr/watchtower:latest
  4.     container_name: watchtower
  5.     environment:
  6.      - WATCHTOWER_INCLUDE_RESTARTING=true
  7.       - TZ=Europe/Budapest
  8.       - WATCHTOWER_NOTIFICATIONS=email
  9.       - WATCHTOWER_NOTIFICATION_EMAIL_FROM=xxxxxxxxxx@gmail.com
  10.       - WATCHTOWER_NOTIFICATION_EMAIL_TO=xxxxxxxxxx@gmail.com
  11.       - WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.gmail.com
  12.       - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587
  13.       - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=xxxxxxxxxx@gmail.com
  14.       - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=aaaa bbbb cccc dddd
  15.       - WATCHTOWER_NOTIFICATION_EMAIL_DELAY=2      
  16.       - WATCHTOWER_CLEANUP=true # törli a régi képeket, helyet szabadítva fel
  17.       - WATCHTOWER_INCLUDE_STOPPED=true # a leállított konténereket is figyeli
  18.       - WATCHTOWER_REVIVE_STOPPED=false
  19.       - WATCHTOWER_SCHEDULE=0 0 2 * * * # Naponta, 02:00-kor
  20. #    command: # Add hozzá vagy távolítsd el az alábbiakat igény szerint (ezeket fogja csak figyelni)
  21. #      - tautulli
  22. #      - watchtower
  23. #      - jellyfin
  24. #      - doublecommander
  25. #      - qbittorrent
  26. #      - ebusd
  27. #      - zabbix
  28.     volumes:
  29.      - /var/run/docker.sock:/var/run/docker.sock
  30.     restart: unless-stopped
Add Comment
Please, Sign In to add comment