turnstone/scripts/turnstone-cluster.service
pyr0ball 729b78e40f feat: source-scoped diagnose; multi-node Docker log collection
- Diagnose: add source_filter param threaded through entries_in_window,
  search, _diagnose, and DiagnoseRequest — clicking diagnose on a
  dashboard source now scopes both keyword and window hits to that source
- QuickCapture: read route.query.source; show scope badge with clear ✕;
  auto-run when source param is present without a query
- DashboardView: pass source= (not q=) when navigating to diagnose
- collect_cluster_logs.sh: auto-discover Docker containers on all nodes
  (Heimdall non-watched, Navi, Strahl via SSH); collect Cass Plex logs
  via SSH; write to per-node dirs for directory-mode ingest
- turnstone-cluster.service: add --reload for hot-reload during dev
2026-05-13 08:10:42 -07:00

21 lines
688 B
Desktop File

[Unit]
Description=Turnstone cluster log monitor
Documentation=https://git.opensourcesolarpunk.com/Circuit-Forge/turnstone
After=network.target docker.service
[Service]
Type=simple
WorkingDirectory=/Library/Development/CircuitForge/turnstone
Environment=TURNSTONE_DB=/devl/turnstone-cluster/data/turnstone.db
Environment=TURNSTONE_PATTERNS=/devl/turnstone-cluster/patterns
Environment=TURNSTONE_SOURCE_HOST=heimdall-cluster
ExecStart=/devl/miniconda3/envs/cf/bin/python -m uvicorn app.rest:app \
--host 0.0.0.0 --port 8534 --reload
Restart=on-failure
RestartSec=5s
StandardOutput=journal
StandardError=journal
SyslogIdentifier=turnstone-cluster
[Install]
WantedBy=multi-user.target