Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 6m15s
71 lines
1.5 KiB
YAML
71 lines
1.5 KiB
YAML
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_HOST: postgres-service
|
|
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"
|