Scaffold homelab-monitor: Fastify API + React dashboard + CI
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>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user