feat: provision dedicated postgres database via CloudNativePG
Build Institutional Trader / build-and-deploy (push) Successful in 2m19s
Details
Build Institutional Trader / build-and-deploy (push) Successful in 2m19s
Details
This commit is contained in:
parent
f68b3e5b75
commit
4d00f978e2
|
|
@ -22,6 +22,11 @@ spec:
|
||||||
env:
|
env:
|
||||||
- name: NODE_ENV
|
- name: NODE_ENV
|
||||||
value: "production"
|
value: "production"
|
||||||
|
- name: DATABASE_URL
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: market-db-app
|
||||||
|
key: uri
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /health
|
path: /health
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
|
kind: Cluster
|
||||||
|
metadata:
|
||||||
|
name: market-db
|
||||||
|
namespace: ai-agents
|
||||||
|
spec:
|
||||||
|
instances: 1
|
||||||
|
storage:
|
||||||
|
size: 1Gi
|
||||||
Loading…
Reference in New Issue