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

18 lines
601 B
YAML

services:
wol:
build: .
container_name: wol
restart: always
network_mode: host
environment:
- WOL_DEVICES=${WOL_DEVICES}
- WOL_BROADCAST_IP=${WOL_BROADCAST_IP:-192.168.0.255}
- WOL_PACKET_COUNT=${WOL_PACKET_COUNT:-3}
labels:
- "traefik.enable=true"
- "traefik.http.routers.wol.rule=Host(`wol.zea.lt`)"
- "traefik.http.routers.wol.entrypoints=websecure"
- "traefik.http.routers.wol.tls.certresolver=leresolver"
- "traefik.http.routers.wol.middlewares=auth@file"
- "traefik.http.services.wol.loadbalancer.server.port=5000"