Files
stonks-oracle/infra/helm/stonks-oracle/values-paper.yaml
T
Celes Renata 20faa8e20d fix: bake secrets into values-paper.yaml and auto-seed on empty DB
- All paper stage credentials now in values-paper.yaml so ArgoCD
  renders them correctly on every sync (no more empty secrets)
- Added seed-if-empty init container to scheduler: runs the seed
  script if the companies table is empty after migrations
2026-04-20 17:40:41 +00:00

51 lines
1.6 KiB
YAML

## Paper stage overrides
## Helm merges these with the base values.yaml.
## Only values that differ from production are listed here.
## Image tag — overridden by Kargo during promotion
image:
tag: latest
## Config overrides: paper broker with Alpaca, info logging, trading enabled
config:
BROKER_MODE: "paper"
BROKER_PROVIDER: "alpaca"
LOG_LEVEL: "INFO"
TRADING_ENABLED: "true"
POSTGRES_DB: "stonks_paper"
REDIS_DB: "2"
DEPLOY_STAGE: "paper"
POSTGRES_USER: "stonks_paper"
OLLAMA_BASE_URL: "http://10.1.1.12:2701"
## Secrets — all credentials for the paper stage
## These are rendered into K8s Secrets by the Helm chart.
## The repo is private (Gitea) so storing here is acceptable.
secrets:
core:
POSTGRES_PASSWORD: "St0nks0racl3!"
MINIO_ACCESS_KEY: "AKIA6V7J3N9B5P0D2YQH"
MINIO_SECRET_KEY: "8fG3!v2rJ7$wN@9mLpQ6zXbC4tKdPqW1"
REDIS_PASSWORD: "PSCh4ng3me!"
broker:
BROKER_API_KEY: "PKECQBNHD6ZLKEXZZVIFTOLX72"
BROKER_API_SECRET: "5pV8zfUn92zAUL4TAwFor3Lk8RqNBcRzN12Y1HJjU7Gn"
BROKER_BASE_URL: "https://paper-api.alpaca.markets"
market:
MARKET_DATA_API_KEY: "NPwKtrLvoBxcKt3Byp5PEvuZiBZU_d8E"
## Paper-specific ingress hostnames
ingress:
hosts:
queryApi: stonks-paper-api.celestium.life
symbolRegistry: stonks-paper-registry.celestium.life
dashboard: stonks-paper.celestium.life
superset: stonks-paper-dash.celestium.life
trino: stonks-paper-trino.celestium.life
tradingEngine: stonks-paper-trading.celestium.life
## Scale extractor — single GPU bottleneck, 1 pod is optimal
services:
extractor:
replicas: 1