Skip to content

Commit

Permalink
fix(vikunja): different ports between proxy and frontend (#2520)
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Apr 20, 2022
1 parent 7bf8b49 commit 829c6e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/incubator/vikunja/Chart.yaml
Expand Up @@ -25,7 +25,7 @@ maintainers:
name: vikunja
sources:
- https://vikunja.io/docs
version: 0.0.5
version: 0.0.6
annotations:
truecharts.org/catagories: |
- productivity
Expand Down
4 changes: 2 additions & 2 deletions charts/incubator/vikunja/templates/configmap.yaml
Expand Up @@ -8,10 +8,10 @@ metadata:
data:
nginx-config: |-
server {
listen 80;
listen 8080;
location / {
proxy_pass http://localhost:80;
proxy_pass http://localhost:8081;
}
location ~* ^/(api|dav|\.well-known)/ {
Expand Down
9 changes: 6 additions & 3 deletions charts/incubator/vikunja/values.yaml
Expand Up @@ -29,7 +29,7 @@ env:
VIKUNJA_DATABASE_DATABASE: "{{ .Values.postgresql.postgresDatabase }}"
VIKUNJA_SERVICE_TIMEZONE: "{{ .Values.TZ }}"
# User Defined
VIKUNJA_SERVICE_FRONTENDURL: "http://localhost:80"
VIKUNJA_SERVICE_FRONTENDURL: "http://localhost:8080"
VIKUNJA_SERVICE_JWTTTL: 259200
VIKUNJA_SERVICE_JWTTTLLONG: 2592000
VIKUNJA_SERVICE_MAXITEMSPERPAGE: 50
Expand Down Expand Up @@ -74,17 +74,20 @@ service:
ports:
main:
port: 10220
targetPort: 80
targetPort: 8080

additionalContainers:
frontend:
name: frontend
image: "{{ .Values.frontendImage.repository }}:{{ .Values.frontendImage.tag }}"
env:
- name: VIKUNJA_HTTP_PORT
value: 8081
proxy:
name: proxy
image: "{{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}"
ports:
- containerPort: 80
- containerPort: 8080
name: main
volumeMounts:
- name: vikunja-config
Expand Down

0 comments on commit 829c6e5

Please sign in to comment.