Sanitized mirror from private repository - 2026-04-18 10:57:41 UTC
This commit is contained in:
17
common/watchtower-agent-updater.yaml
Normal file
17
common/watchtower-agent-updater.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
# Watchtower - Auto-update Portainer Edge Agent only
|
||||
# Schedule: Sundays at 3:00 AM
|
||||
# Only updates the portainer_edge_agent container
|
||||
|
||||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower:latest
|
||||
container_name: watchtower-agent-updater
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_SCHEDULE=0 0 3 * * 0
|
||||
- WATCHTOWER_ROLLING_RESTART=true
|
||||
- TZ=America/Los_Angeles
|
||||
command: portainer_edge_agent
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user