Changeset 0.22.6 (#148)
This commit is contained in:
@@ -2,8 +2,11 @@
|
||||
# ============================================
|
||||
# Chat Switchboard - Frontend Deployment
|
||||
# ============================================
|
||||
# Static nginx serving the SPA. No /api/ proxy here —
|
||||
# the Ingress routes /api/ directly to the backend service.
|
||||
# nginx serving the SPA + proxying page routes
|
||||
# to the backend for Go template rendering.
|
||||
#
|
||||
# v0.22.6+: BACKEND_URL enables proxy_pass for
|
||||
# /, /login, /admin, /editor, /notes, /settings.
|
||||
# ============================================
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@@ -40,6 +43,8 @@ spec:
|
||||
value: "${BASE_PATH}"
|
||||
- name: ENVIRONMENT
|
||||
value: "${ENVIRONMENT}"
|
||||
- name: BACKEND_URL
|
||||
value: "http://switchboard-be${DEPLOY_SUFFIX}:8080"
|
||||
volumeMounts:
|
||||
- name: branding
|
||||
mountPath: /branding
|
||||
|
||||
Reference in New Issue
Block a user