Skip to content

Commit

Permalink
feat(diracx-web): environment variables for port configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Loxeris committed May 27, 2024
1 parent e3898c5 commit 34127c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion diracx/templates/diracx-web/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,12 @@ spec:
{{- if $nodeDevInstall }}
# Start the node module in development mode
image: {{ .Values.developer.nodeImage }}
command: ["npm", "run", "dev", "--prefix", "{{ $nodeMountedModulePath }}", "--", "-p", "{{ .Values.diracxWeb.service.port }}"]
command: ["npm", "run", "dev", "--prefix", "{{ $nodeMountedModulePath }}"]
env:
- name: NEXT_TELEMETRY_DISABLED
value: "1"
- name: PORT
value: "{{ .Values.diracxWeb.service.port }}"
volumeMounts:
- mountPath: "{{ $nodeMountedModulePath }}"
name: "diracx-web-code-mount"
Expand Down

0 comments on commit 34127c0

Please sign in to comment.