From fd280f1fca5bc6a2db7f6cf3cb646258f5443110 Mon Sep 17 00:00:00 2001 From: Lumpiasty Date: Sat, 5 Apr 2025 03:34:09 +0200 Subject: [PATCH] add ingress to librechat --- apps/librechat.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/apps/librechat.yaml b/apps/librechat.yaml index c570b08..a9a1de1 100644 --- a/apps/librechat.yaml +++ b/apps/librechat.yaml @@ -35,6 +35,8 @@ spec: configEnv: PLUGIN_MODELS: null ALLOW_REGISTRATION: "false" + TRUST_PROXY: "1" + DOMAIN_CLIENT: https://librechat.lumpiasty.xyz existingSecretName: librechat configYamlContent: | version: 1.0.3 @@ -67,7 +69,19 @@ spec: accessModes: ReadWriteOnce storageClassName: mayastor-single-hdd ingress: - enabled: false + enabled: true + className: nginx + annotations: + cert-manager.io/cluster-issuer: letsencrypt + hosts: + - host: librechat.lumpiasty.xyz + paths: + - path: / + pathType: ImplementationSpecific + tls: + - hosts: + - librechat.lumpiasty.xyz + secretName: librechat-ingress mongodb: persistence: