update Watchtower to monitor specific containers and enable label-based filtering

This commit is contained in:
Egor Pozharov
2026-04-16 23:04:14 +06:00
parent ce6ea377ce
commit 357a395cbb

View File

@@ -52,10 +52,12 @@ services:
- WATCHTOWER_POLL_INTERVAL=60
- WATCHTOWER_INCLUDE_STOPPED=true
- WATCHTOWER_REVIVE_STOPPED=false
- WATCHTOWER_LABEL_ENABLE=true # или укажите имена точнее
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /root/.docker/config.json:/config.json
command: backend frontend --interval 60
# Уберите или исправьте config.json если registry не требует auth
# - /root/.docker/config.json:/config.json:ro
command: delivery-tracker-backend-1 delivery-tracker-frontend-1 --interval 60
networks:
- delivery-network