Skip to content

Commit

Permalink
Merge pull request #198 from FlowFuse/hardillb-patch-2
Browse files Browse the repository at this point in the history
Set NODE_ENV
  • Loading branch information
hardillb authored Oct 19, 2023
2 parents aecd32c + 0e0cd82 commit 8ea9c07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions helm/flowforge/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ spec:
- name: SENTRY_ENV
value: {{ .Values.forge.telemetry.sentry.environment }}
{{- end }}
- name: NODE_ENV
value: production
volumeMounts:
- name: config
mountPath: /usr/src/forge/etc
Expand Down
5 changes: 4 additions & 1 deletion helm/flowforge/templates/file-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ spec:
- name: file-storage
image: {{ .Values.forge.registry }}{{- if .Values.forge.registry -}}/{{- end -}}flowforge/file-server:{{ .Chart.AppVersion }}
imagePullPolicy: Always
env:
- name: NODE_ENV
value: production
volumeMounts:
- name: config
mountPath: /usr/src/flowforge-file-server/etc
Expand Down Expand Up @@ -114,4 +117,4 @@ spec:
name: web
selector:
app: flowforge-file
{{- end -}}
{{- end -}}

0 comments on commit 8ea9c07

Please sign in to comment.