Files
homelab/dashboard/docker-compose.yml
2026-02-13 19:41:46 +02:00

22 lines
671 B
YAML

services:
dashboard:
build: .
container_name: dashboard
restart: always
environment:
- WOL_API_URL=${WOL_API_URL:-https://wol.zea.lt}
- WOL_API_USER=${WOL_API_USER}
- WOL_API_PASS=${WOL_API_PASS}
- WEATHER_API_KEY=${WEATHER_API_KEY}
- WEATHER_CITY=${WEATHER_CITY}
networks:
- homelab
ports:
- "8080:8080"
labels:
- "traefik.enable=true"
- "traefik.http.routers.dashboard.rule=Host(`zea.lt`)"
- "traefik.http.routers.dashboard.entrypoints=websecure"
- "traefik.http.routers.dashboard.tls.certresolver=leresolver"
- "traefik.http.routers.dashboard.middlewares=auth@file"