Add Docker compose templates and configurations
This commit is contained in:
29
docker-templates/watchtower/docker-compose.yml
Normal file
29
docker-templates/watchtower/docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower:latest
|
||||
container_name: watchtower
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- homelab-network
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- DOCKER_API_VERSION=1.52
|
||||
- WATCHTOWER_CLEANUP=true
|
||||
- WATCHTOWER_INCLUDE_RESTARTING=true
|
||||
- WATCHTOWER_SCHEDULE=0 0 4 * * * # 4 AM daily
|
||||
- WATCHTOWER_NOTIFICATIONS=shoutrrr
|
||||
# - WATCHTOWER_NOTIFICATION_URL=${WATCHTOWER_NOTIFICATION_URL}
|
||||
labels:
|
||||
- com.getarcaneapp.arcane.icon=https://cdn.jsdelivr.net/gh/selfhst/icons@main/svg/watchtower.svg
|
||||
- 'homelab.category=infrastructure'
|
||||
- 'homelab.description=Automatic Docker container updates'
|
||||
|
||||
|
||||
networks:
|
||||
homelab-network:
|
||||
external: true
|
||||
|
||||
|
||||
x-arcane:
|
||||
icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/svg/watchtower.svg
|
||||
Reference in New Issue
Block a user