Files
unraid-monitor/docker-compose.yml
T
Pit Friedrich 84c9e3f855 Initial commit
2025-11-15 14:58:44 +01:00

24 lines
602 B
YAML

services:
unraid-monitor:
build: .
container_name: unraid-monitor
restart: unless-stopped
ports:
- "10000:10000"
environment:
- NODE_ENV=production
- JWT_SECRET=${JWT_SECRET:-change-this-to-a-secure-random-string}
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- unraid-monitor
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:4000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
unraid-monitor:
driver: bridge