mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
17 lines
343 B
YAML
17 lines
343 B
YAML
services:
|
|
# Watchtower
|
|
watchtower:
|
|
image: containrrr/watchtower
|
|
container_name: watchtower
|
|
profiles:
|
|
- watchtower
|
|
depends_on:
|
|
- caddy
|
|
restart: on-failure:5
|
|
networks:
|
|
- infra-network
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:rw
|
|
security_opt:
|
|
- no-new-privileges:true
|