update Watchtower to monitor specific containers and enable label-based filtering
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user