- FastAPI app with async SQLAlchemy + Alembic migrations - API: positions CRUD, PnL summary, trade history, webhook endpoint - Dark-themed SPA frontend (vanilla HTML/JS) - K8s: deployment, service, configmap, TsProxy for Tailscale access - Backed by hermes-pgdb / trading_data database - Wired into Flux staging pipeline
10 lines
222 B
YAML
10 lines
222 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: trade-dashboard-config
|
|
namespace: customer1
|
|
data:
|
|
DB_USER: "trading"
|
|
DB_HOST: "hermes-pgdb-rw.customer1.svc.cluster.local"
|
|
DB_PORT: "5432"
|
|
DB_NAME: "trading_data"
|