Some checks failed
Deploy to Production / Build and Deploy (push) Has been cancelled
70 lines
1.5 KiB
YAML
70 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_HOSTNAME: postgres-service
|
|
POSTGRES_PORT: "5432"
|
|
POSTGRES_DB: fusero-db
|
|
POSTGRES_USER: prod_admin
|
|
POSTGRES_PASSWORD: "<POSTGRES_PASSWORD>"
|
|
DEFAULT_ADMIN_USERNAME: admin
|
|
DEFAULT_ADMIN_EMAIL: admin@your-domain.com
|
|
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://your-canvas-instance/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://your-domain.com
|
|
|
|
postgres:
|
|
image: postgres:15
|
|
storage: 5Gi
|
|
resources:
|
|
requests:
|
|
cpu: "200m"
|
|
memory: "256Mi"
|
|
limits:
|
|
cpu: "500m"
|
|
memory: "512Mi"
|
|
password: "<POSTGRES_PASSWORD>"
|
|
user: "prod_admin"
|
|
dbName: "fusero-db"
|