Mount Docker config into Watchtower for private registry auth
This commit is contained in:
@@ -4,6 +4,7 @@ services:
|
||||
container_name: watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /root/.docker/config.json:/config.json:ro
|
||||
environment:
|
||||
- WATCHTOWER_POLL_INTERVAL=300 # Check for updates every 300 seconds (5 minutes)
|
||||
- WATCHTOWER_CLEANUP=true # Remove old images after updates
|
||||
|
||||
Reference in New Issue
Block a user