a075488f4b
Vertical slice for Phase 1 (v1-dashboard milestone): Proxmox collector, SQLite storage, local auth, and a dashboard UI showing host/container status cards. Config-driven collector registry so future data sources (SSH-based hosts, Zabbix, network discovery) plug in without rewiring. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
32 lines
578 B
YAML
32 lines
578 B
YAML
services:
|
|
api:
|
|
build: ./apps/api
|
|
container_name: homelab-monitor-api
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
environment:
|
|
- HOSTS_CONFIG_PATH=/app/config/hosts.yaml
|
|
- DB_PATH=/app/data/monitor.db
|
|
volumes:
|
|
- ./config/hosts.yaml:/app/config/hosts.yaml:ro
|
|
- monitor-data:/app/data
|
|
networks:
|
|
- web
|
|
|
|
web:
|
|
build: ./apps/web
|
|
container_name: homelab-monitor-web
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8090:80"
|
|
depends_on:
|
|
- api
|
|
networks:
|
|
- web
|
|
|
|
networks:
|
|
web:
|
|
|
|
volumes:
|
|
monitor-data:
|