fix(chart): add parameter for service.targetPort, sets APP_PORT var for nginx

This commit is contained in:
holysoles
2025-01-17 17:34:58 -06:00
parent 6de3922760
commit f3ceca0828
5 changed files with 8 additions and 2 deletions
+3 -1
View File
@@ -38,7 +38,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
containerPort: {{ .Values.service.targetPort }}
protocol: TCP
env:
# app data
@@ -46,6 +46,8 @@ spec:
value: {{ .Values.pixelfed.app.name }}
- name: APP_ENV
value: {{ .Values.pixelfed.app.env }}
- name: APP_PORT
value: {{ .Values.service.targetPort | quote}}
- name: APP_URL
value: {{ .Values.pixelfed.app.url }}
- name: APP_LOCALE