mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-19 12:03:54 +02:00
minor improvements (#3081)
This commit is contained in:
@@ -17,11 +17,13 @@ spec:
|
||||
image: danswer/danswer-backend:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
[
|
||||
"/usr/bin/supervisord",
|
||||
"-c",
|
||||
"/etc/supervisor/conf.d/supervisord.conf",
|
||||
]
|
||||
- "/bin/sh"
|
||||
- "-c"
|
||||
- |
|
||||
if [ -f /etc/ssl/certs/custom-ca.crt ]; then
|
||||
update-ca-certificates;
|
||||
fi &&
|
||||
/usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
|
||||
env:
|
||||
- name: REDIS_PASSWORD
|
||||
valueFrom:
|
||||
@@ -32,6 +34,10 @@ spec:
|
||||
- configMapRef:
|
||||
name: env-configmap
|
||||
# Uncomment the following lines if you need to include a custom CA certificate
|
||||
# This section allows for the inclusion of a custom CA certificate
|
||||
# If a custom CA certificate is present, it updates the system's CA certificates
|
||||
# This is useful for environments with self-signed or internal CA certificates
|
||||
# The certificate is mounted as a volume and the container checks for its presence
|
||||
# Optional volume mount for CA certificate
|
||||
# volumeMounts:
|
||||
# - name: my-ca-cert-volume
|
||||
|
Reference in New Issue
Block a user