mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-27 10:13:05 +01:00
37 lines
935 B
YAML
37 lines
935 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: background-deployment
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: background
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: background
|
|
spec:
|
|
containers:
|
|
- name: background
|
|
image: danswer/danswer-backend:latest
|
|
imagePullPolicy: IfNotPresent
|
|
command: ["/usr/bin/supervisord"]
|
|
env:
|
|
- name: POSTGRES_HOST
|
|
value: relational-db-service
|
|
- name: VESPA_HOST
|
|
value: document-index-service
|
|
volumeMounts:
|
|
- name: dynamic-storage
|
|
mountPath: /home/storage
|
|
- name: file-connector-storage
|
|
mountPath: /home/file_connector_storage
|
|
volumes:
|
|
- name: dynamic-storage
|
|
persistentVolumeClaim:
|
|
claimName: dynamic-pvc
|
|
- name: file-connector-storage
|
|
persistentVolumeClaim:
|
|
claimName: file-connector-pvc
|