feat: provision dedicated postgres database via CloudNativePG
Build Institutional Trader / build-and-deploy (push) Successful in 2m19s Details

This commit is contained in:
Deep Koluguri 2026-06-22 19:29:22 -04:00
parent f68b3e5b75
commit 4d00f978e2
2 changed files with 14 additions and 0 deletions

View File

@ -22,6 +22,11 @@ spec:
env:
- name: NODE_ENV
value: "production"
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: market-db-app
key: uri
livenessProbe:
httpGet:
path: /health

9
k8s/db.yaml Normal file
View File

@ -0,0 +1,9 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: market-db
namespace: ai-agents
spec:
instances: 1
storage:
size: 1Gi