fix: update backend env to use POSTGRES_HOSTNAME instead of POSTGRES_HOST
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 6m12s
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 6m12s
This commit is contained in:
parent
c8ddb9e732
commit
addcc6d7e2
69
chart/values.prod.yaml
Normal file
69
chart/values.prod.yaml
Normal file
@ -0,0 +1,69 @@
|
||||
global:
|
||||
namespace: fusero-prod
|
||||
security:
|
||||
cors:
|
||||
origin: "https://your-domain.com"
|
||||
methods: "GET,POST,PUT,DELETE"
|
||||
credentials: true
|
||||
https:
|
||||
enabled: true
|
||||
certSecret: "your-tls-secret"
|
||||
logging:
|
||||
level: "info"
|
||||
format: "json"
|
||||
monitoring:
|
||||
prometheus:
|
||||
enabled: true
|
||||
path: "/metrics"
|
||||
|
||||
backend:
|
||||
image: registry.liquidrinu.com/fusero-backend:latest
|
||||
port: 14000
|
||||
resources:
|
||||
requests:
|
||||
cpu: "200m"
|
||||
memory: "256Mi"
|
||||
limits:
|
||||
cpu: "500m"
|
||||
memory: "512Mi"
|
||||
env:
|
||||
POSTGRES_HOSTNAME: postgres-service
|
||||
POSTGRES_PORT: "5432"
|
||||
POSTGRES_NAME: fusero-db
|
||||
POSTGRES_USER: prod_admin
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
DEFAULT_ADMIN_USERNAME: admin
|
||||
DEFAULT_ADMIN_EMAIL: admin@fusero.nl
|
||||
DEFAULT_ADMIN_PASSWORD: ${DEFAULT_ADMIN_PASSWORD}
|
||||
ENCRYPTION_KEY: ${ENCRYPTION_KEY}
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
CHATGPT_API_KEY: ${CHATGPT_API_KEY}
|
||||
CANVAS_API_KEY: ${CANVAS_API_KEY}
|
||||
CANVAS_API_URL: https://talnet.instructure.com/api/v1
|
||||
|
||||
frontend:
|
||||
image: registry.liquidrinu.com/fusero-frontend:latest
|
||||
port: 80
|
||||
resources:
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: "128Mi"
|
||||
limits:
|
||||
cpu: "300m"
|
||||
memory: "256Mi"
|
||||
env:
|
||||
VITE_API_BASE_URL: https://app.fusero.nl
|
||||
|
||||
postgres:
|
||||
image: postgres:15
|
||||
storage: 5Gi
|
||||
dbName: fusero-db
|
||||
user: prod_admin
|
||||
password: ${POSTGRES_PASSWORD}
|
||||
resources:
|
||||
requests:
|
||||
cpu: "200m"
|
||||
memory: "256Mi"
|
||||
limits:
|
||||
cpu: "500m"
|
||||
memory: "512Mi"
|
Loading…
Reference in New Issue
Block a user