feat: per-stage PostgreSQL users for database isolation (stonks_beta, stonks_paper)

This commit is contained in:
Celes Renata
2026-04-19 23:17:22 +00:00
parent 47f10cd3cf
commit 48fed18078
3 changed files with 48 additions and 16 deletions
@@ -15,6 +15,7 @@ config:
POSTGRES_DB: "stonks_beta"
REDIS_DB: "1"
DEPLOY_STAGE: "beta"
POSTGRES_USER: "stonks_beta"
## All services pinned to 1 replica with lighter resource limits
services:
@@ -15,6 +15,7 @@ config:
POSTGRES_DB: "stonks_paper"
REDIS_DB: "2"
DEPLOY_STAGE: "paper"
POSTGRES_USER: "stonks_paper"
## Secrets override: Alpaca paper trading API endpoint
secrets: