Skip to content

Commit

Permalink
move env var to correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanrfrazier committed Dec 13, 2024
1 parent b077470 commit 1e15eb1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 0 additions & 1 deletion charts/langflow-ide/templates/backend-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ spec:
else
echo "LF_CHART_EXTERNALDB_DRIVER is not set, using SQLLite database"
fi &&
export LANGFLOW_PORT={{ .Values.langflow.backend.service.port }} &&
langflow run --host 0.0.0.0 --port {{ .Values.langflow.backend.service.port }}
ports:
- name: http
Expand Down
12 changes: 8 additions & 4 deletions charts/langflow-ide/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ langflow:
numWorkers: 1
image:
repository: jordanrfrazier/lfopenshift
imagePullPolicy: Always
tag: "v1.1"
imagePullPolicy: IfNotPresent
tag: "v1.5"
resources:
requests:
cpu: 0.5
Expand All @@ -70,7 +70,11 @@ langflow:
periodSeconds: 10
timeoutSeconds: 5
initialDelaySeconds: 5
env: []
env:
- name: LANGFLOW_PORT
value: "7860"
- name: "LANGFLOW_ALEMBIC_LOG_FILE"
value: "/app/db/alembic.log"
nodeSelector: {}
tolerations: []
affinity: {}
Expand Down Expand Up @@ -184,7 +188,7 @@ langflow:
port: 8080
image:
repository: jordanrfrazier/lfopenshift-frontend
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
tag: "v1.7"
resources:
requests:
Expand Down
2 changes: 2 additions & 0 deletions charts/langflow-runtime/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ securityContext:
runAsGroup: 1000

env:
- name: LANGFLOW_PORT
value: "7860"
- name: LANGFLOW_LOG_LEVEL
value: "INFO"
- name: LANGFLOW_DATABASE_URL
Expand Down

0 comments on commit 1e15eb1

Please sign in to comment.