Replace Watchtower with WUD: Build a Controlled Docker Auto-Update Plan
WUD (What’s Up Docker)
services:
wud:
image: getwud/wud:latest
container_name: wud
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./store:/store
environment:
- TZ=Asia/Shanghai
# Local Docker watcher
- WUD_WATCHER_LOCAL_SOCKET=/var/run/docker.sock
# Key: do not watch any containers by default
- WUD_WATCHER_LOCAL_WATCHBYDEFAULT=false
# Scan every 12 hours
- WUD_WATCHER_LOCAL_CRON=0 */12 * * *
# Auto update + prune old images after update
- WUD_TRIGGER_DOCKER_AUTO_PRUNE=true # Equivalent to `watchtower --cleanup`
Monitor only (no auto update)
labels:
- "wud.watch=true"
- Appears in the WUD UI
- Shows update hints
- Does not auto-restart
Monitor + auto update (Watchtower equivalent)
labels:
- "wud.watch=true"
- "wud.trigger.include=docker.auto"
