Files
nas-compose/docker-monitoring/docker-compose.yml
2024-08-28 09:35:34 +10:00

35 lines
1.0 KiB
YAML

name: docker-monitoring
services:
watchtower:
hostname: watchtower
image: containrrr/watchtower
environment:
WATCHTOWER_INCLUDE_RESTARTING: true
WATCHTOWER_INCLUDE_STOPPED: true
WATCHTOWER_CLEANUP: true
WATCHTOWER_NOTIFICATION_REPORT: true
WATCHTOWER_NOTIFICATION_URL: /run/secrets/notification_url
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# Secrets
- ${NASCOMPOSE_SERVICES?}/docker-monitoring/secrets/notification_url:/run/secrets/notification_url:ro
restart: unless-stopped
dockge:
hostname: dockge
image: louislam/dockge
networks:
- reverse-proxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${NASCOMPOSE_SERVICES?}/docker-monitoring/volumes/dockge_stacks/:/opt/stacks/
- ${NASCOMPOSE_SERVICES?}/docker-monitoring/volumes/dockge_data/:/app/data/
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.dockge.middlewares: authelia@file
networks:
reverse-proxy:
external: true