- 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
12 lines
193 B
YAML
12 lines
193 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: trade-dashboard
|
|
namespace: customer1
|
|
spec:
|
|
selector:
|
|
app: trade-dashboard
|
|
ports:
|
|
- port: 80
|
|
targetPort: 8000
|
|
name: http
|