7357070fb9
Deletes desktop/ (Electron wrapper), deployments/ (Helm/Kustomize/ Terraform/CI for cloud deploy), and monitoring/ (Prometheus + Grafana stack) along with DESKTOP.md, DEPLOYMENT.md, docker-compose.full.yml, their npm scripts, and every dangling reference across README, ARCHITECTURE, INSTALL, SETUP, docs/, and the repeated per-file MODULE_GUIDE "Observability" boilerplate comment. The GET /api/metrics endpoint itself is untouched — it's the dashboard's own route, not part of the removed monitoring stack.
24 lines
1.1 KiB
YAML
24 lines
1.1 KiB
YAML
services:
|
|
agent-monitor:
|
|
build: .
|
|
container_name: agent-monitor
|
|
ports:
|
|
# Publish on the host loopback only, so the dashboard is not reachable
|
|
# from the LAN out of the box (matches the server's default trust
|
|
# boundary — GHSA-gr74-4xfh-6jw9). To expose it on a LAN, change this to
|
|
# "${DASHBOARD_PORT:-4820}:4820" and set DASHBOARD_TOKEN below.
|
|
- "127.0.0.1:${DASHBOARD_PORT:-4820}:4820"
|
|
volumes:
|
|
# Same SQLite file as `npm start` / `npm run dev` on the host.
|
|
- ${CLAUDE_HOME:-~/.claude}/agent-dashboard:/app/data
|
|
- ${CLAUDE_HOME:-~/.claude}:/root/.claude:ro
|
|
environment:
|
|
- NODE_ENV=production
|
|
- DASHBOARD_PORT=4820
|
|
# Optional — required when a Prometheus-in-Docker scraper reaches this
|
|
# container as anything other than loopback (e.g. host.docker.internal).
|
|
- DASHBOARD_ALLOWED_HOSTS=${DASHBOARD_ALLOWED_HOSTS:-}
|
|
# DASHBOARD_HOST=0.0.0.0 and DASHBOARD_DATA_DIR=/app/data are baked into
|
|
# the image (see Dockerfile) so both `docker run` and Compose work as-is.
|
|
restart: unless-stopped
|