feat: initialize serverAppConfigs with podman stacks for Dankserver and Dankclaw
- Dankserver stack: RomM, Copyparty, Calibre-Web, node-exporter - Dankclaw stack: Gluetun VPN (SearXNG tunnel), SearXNG+Valkey, ComfyUI (CPU backend), OpenWebUI, Hermes, Gitea+Postgres (migrated), Caddy reverse proxy, Grafana+Prometheus+Loki+Alloy observability - Caddyfiles with .local hostname convention and basicauth homepage - bind-mount storage policy, no named volumes - deploy.sh mirroring vllmScripts git workflow (push -> pull -> restart -> health) - docs/ Obsidian vault: per-service docs from frank-default-small research subagents (promtail EOL -> Alloy; gitea SECRET_KEY preservation; ComfyUI --cpu) - bats test suite at 6 seams — 22 tests green
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
# Prometheus configuration for the homelab.
|
||||
# Deployed to /opt/prometheus/config/prometheus.yml on Dankclaw.
|
||||
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
scrape_timeout: 10s
|
||||
evaluation_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
# Prometheus itself
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["localhost:9090"]
|
||||
|
||||
# Host metrics — both hosts
|
||||
- job_name: "node-dankclaw"
|
||||
static_configs:
|
||||
- targets: ["192.168.0.143:9100"]
|
||||
|
||||
- job_name: "node-dankserver"
|
||||
static_configs:
|
||||
- targets: ["192.168.0.235:9100"]
|
||||
|
||||
# Gitea metrics
|
||||
- job_name: "gitea"
|
||||
static_configs:
|
||||
- targets: ["gitea:3000"]
|
||||
metrics_path: "/metrics"
|
||||
|
||||
# Grafana metrics
|
||||
- job_name: "grafana"
|
||||
static_configs:
|
||||
- targets: ["grafana:3000"]
|
||||
metrics_path: "/metrics"
|
||||
|
||||
# Loki metrics
|
||||
- job_name: "loki"
|
||||
static_configs:
|
||||
- targets: ["loki:3100"]
|
||||
metrics_path: "/metrics"
|
||||
|
||||
# ComfyUI (no native /metrics; probe the UI)
|
||||
- job_name: "comfyui"
|
||||
metrics_path: "/"
|
||||
static_configs:
|
||||
- targets: ["comfyui:8188"]
|
||||
|
||||
# Blackbox-style probes for service up/down
|
||||
- job_name: "services"
|
||||
metrics_path: "/"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "http://search.dankclaw.local"
|
||||
- "http://chat.dankclaw.local"
|
||||
- "http://gitea.dankclaw.local"
|
||||
- "http://comfyui.dankclaw.local"
|
||||
Reference in New Issue
Block a user