- grafana/: docker-compose + provisioned Postgres datasource + 'Momentum — Live' dashboard (evaluation board with status colours, ready signals, risk events, bars + equity timeseries) reading the event store via JSONB extraction. Run: cd grafana && docker compose up -d -> http://localhost:3000. - RSS news-catalyst discovery wired: extract_tickers also matches $CASHTAGS; run_discovery pulls tickers from recent news into the universe when NEWS_FEEDS is set (no-op / safe otherwise). - docs: .env.example NEWS_FEEDS; GO_LIVE monitoring adds 'momentum watch' + Grafana. 67/67 tests green. Live board (momentum watch) verified rendering the evaluation board with real determinations. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
21 lines
770 B
YAML
21 lines
770 B
YAML
# Grafana for momentum — remote, visual monitoring over the Postgres event store.
|
|
# cd grafana && docker compose up -d -> http://localhost:3000 (anonymous admin)
|
|
# The datasource + dashboard are auto-provisioned. The datasource points at the
|
|
# Postgres at 192.168.1.5:5432 (edit provisioning/datasources/momentum.yaml if needed).
|
|
services:
|
|
grafana:
|
|
image: grafana/grafana:11.2.0
|
|
container_name: momentum-grafana
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- GF_AUTH_ANONYMOUS_ENABLED=true
|
|
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
|
|
- GF_AUTH_DISABLE_LOGIN_FORM=true
|
|
- GF_DASHBOARDS_MIN_REFRESH_INTERVAL=2s
|
|
volumes:
|
|
- ./provisioning:/etc/grafana/provisioning
|
|
- grafana-data:/var/lib/grafana
|
|
volumes:
|
|
grafana-data:
|