This repository has been archived on 2026-07-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
docker/monitoring/wud/docker-compose.yml
T
2026-07-17 09:23:23 +10:00

56 lines
1.8 KiB
YAML

services:
wud:
profiles: ["monitoring","all","wud"]
image: getwud/wud
container_name: wud
restart: always
# ports:
# - "3000:3000"
volumes:
- ${DOCKER_VOLUMES}/wud:/store
# - /var/run/docker.sock:/var/run/docker.sock:ro
environment:
TZ: ${TZ}
WUD_LOG_LEVEL: TRACE
# Docker Socket Proxy
WUD_WATCHER_LOCAL_HOST: docker-socket-proxy
# WUD_WATCHER_LOCAL_SOCKET: /var/run/docker.sock
# Check every 6 hours
WUD_WATCHER_LOCAL_CRON: ${WUD_WATCHER_LOCAL_CRON}
WUD_WATCHER_LOCAL_WATCHBYDEFAULT: false
WUD_WATCHER_RASPI_HOST: raspberrypi.tail13f623.ts.net
WUD_WATCHER_RASPI_CRON: ${WUD_WATCHER_LOCAL_CRON}
# Gotify
# WUD_TRIGGER_GOTIFY_URL: ${WUD_TRIGGER_GOTIFY_URL}
# WUD_TRIGGER_GOTIFY_TOKEN: ${WUD_TRIGGER_GOTIFY_TOKEN}
# WUD_TRIGGER_GOTIFY_PRIORITY: ${WUD_TRIGGER_GOTIFY_PRIORITY}
# WUD_TRIGGER_GOTIFY_TITLE: ${WUD_TRIGGER_GOTIFY_TITLE}
WUD_TRIGGER_GOTIFY_gotify_PRIORITY: ${WUD_TRIGGER_GOTIFY_PRIORITY}
WUD_TRIGGER_GOTIFY_gotify_TOKEN: ${WUD_TRIGGER_GOTIFY_gotify_TOKEN}
WUD_TRIGGER_GOTIFY_gotify_URL: http://gotify
labels:
- "traefik.enable=true"
- "traefik.docker.network=core_traefik"
- "io.portainer.accesscontrol.public"
- "traefik.http.routers.wud.rule=Host(`wud.lan.ddnsgeek.com`)"
- "traefik.http.routers.wud.entrypoints=websecure"
- "traefik.http.routers.wud.tls.certresolver=myresolver"
- "traefik.http.routers.wud.tls.options=mtls-private-admin@file"
- "traefik.http.services.wud.loadbalancer.server.port=3000"
networks:
- traefik
healthcheck:
test: curl --fail http://localhost:${WUD_SERVER_PORT:-3000}/health || exit 1
interval: 10s
timeout: 10s
retries: 3
start_period: 10s