infrastructure/docker-compose.watchtower.yml

17 lines
329 B
YAML
Raw Normal View History

version: '3.9'
services:
# Watchtower
watchtower:
image: containrrr/watchtower
container_name: watchtower
profiles:
- watchtower
restart: on-failure:5
networks:
- infra-network
volumes:
- /var/run/docker.sock:/var/run/docker.sock:rw
security_opt:
- no-new-privileges:true