Add cloudhost-platform Helm chart and registry ingress manifests.
Deploy backend, frontend, PostgreSQL, and Redis on Kubernetes with optional Ingress/TLS, SQL migration hooks, and public registry exposure at repo.3fase.ir. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# Example production overrides for cloudhost-platform
|
||||
# cp values-production.example.yaml values-production.yaml && edit secrets/hosts
|
||||
|
||||
namespace: cloudhost
|
||||
createNamespace: true
|
||||
|
||||
global:
|
||||
storageClass: local-path # k3s example
|
||||
|
||||
images:
|
||||
backend:
|
||||
repository: registry.example.com/cloudhost-backend
|
||||
tag: "1.0.0"
|
||||
pullPolicy: Always
|
||||
frontend:
|
||||
repository: registry.example.com/cloudhost-frontend
|
||||
tag: "1.0.0"
|
||||
pullPolicy: Always
|
||||
|
||||
postgres:
|
||||
password: "CHANGE_ME_STRONG_POSTGRES_PASSWORD"
|
||||
|
||||
secrets:
|
||||
jwtSecret: "CHANGE_ME_LONG_JWT_SECRET"
|
||||
jwtRefreshSecret: "CHANGE_ME_LONG_REFRESH_SECRET"
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
className: nginx
|
||||
frontend:
|
||||
host: platform.example.com
|
||||
api:
|
||||
host: api.platform.example.com
|
||||
tls:
|
||||
enabled: true
|
||||
clusterIssuer: letsencrypt-prod
|
||||
|
||||
backend:
|
||||
env:
|
||||
PLATFORM_DOMAIN: apps.example.com
|
||||
REGISTRY_PULL_URL: "10.0.0.50:30500"
|
||||
|
||||
migrations:
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user