Browse Source

Merge branch 'refactor/trialytix-version-1.9.3' into 'master'

refactor/trialytix-version-1.9.3

See merge request devops/k8s-deployments!95
master
Domagoj Zecevic 3 years ago
parent
commit
fb4c9c9b5c
  1. 9
      01_onsite/01_dev/trialytix/deployment.yaml
  2. 9
      01_onsite/02_qa/trialytix/deployment.yaml
  3. 13
      02_hetzner/02_trialytix/trialytix-demo/deployment.yaml
  4. 13
      02_hetzner/02_trialytix/trialytix-esculape/deployment.yaml

9
01_onsite/01_dev/trialytix/deployment.yaml

@ -122,6 +122,15 @@ data:
send_timeout 300s; send_timeout 300s;
} }
location /storage {
proxy_pass http://backend;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
error_page 404 =200 /index.html; error_page 404 =200 /index.html;
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';

9
01_onsite/02_qa/trialytix/deployment.yaml

@ -125,6 +125,15 @@ data:
send_timeout 300s; send_timeout 300s;
} }
location /storage {
proxy_pass http://backend;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
error_page 404 =200 /index.html; error_page 404 =200 /index.html;
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';

13
02_hetzner/02_trialytix/trialytix-demo/deployment.yaml

@ -18,7 +18,7 @@ spec:
containers: containers:
# Backend container # Backend container
- name: trialytix-backend - name: trialytix-backend
image: packages.semapp.lan:5000/trialytix_backend:1.8.0-rc1 image: packages.semapp.lan:5000/trialytix_backend:1.9.4-rc1
resources: resources:
requests: requests:
memory: "512Mi" memory: "512Mi"
@ -36,7 +36,7 @@ spec:
imagePullPolicy: Always imagePullPolicy: Always
# Frontend container # Frontend container
- name: trialytix-frontend - name: trialytix-frontend
image: packages.semapp.lan:5000/trialytix_frontend:1.8.0-rc1 image: packages.semapp.lan:5000/trialytix_frontend:1.9.4-rc1
resources: resources:
requests: requests:
memory: "512Mi" memory: "512Mi"
@ -123,6 +123,15 @@ data:
proxy_send_timeout 300s; proxy_send_timeout 300s;
send_timeout 300s; send_timeout 300s;
} }
location /storage {
proxy_pass http://backend;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
error_page 404 =200 /index.html; error_page 404 =200 /index.html;

13
02_hetzner/02_trialytix/trialytix-esculape/deployment.yaml

@ -18,7 +18,7 @@ spec:
containers: containers:
# Backend container # Backend container
- name: trialytix-backend - name: trialytix-backend
image: packages.semapp.lan:5000/trialytix_backend:1.8.0-rc1 image: packages.semapp.lan:5000/trialytix_backend:1.9.4-rc1
resources: resources:
requests: requests:
memory: "512Mi" memory: "512Mi"
@ -36,7 +36,7 @@ spec:
imagePullPolicy: Always imagePullPolicy: Always
# Frontend container # Frontend container
- name: trialytix-frontend - name: trialytix-frontend
image: packages.semapp.lan:5000/trialytix_frontend:1.8.0-rc1 image: packages.semapp.lan:5000/trialytix_frontend:1.9.4-rc1
resources: resources:
requests: requests:
memory: "256Mi" memory: "256Mi"
@ -122,6 +122,15 @@ data:
send_timeout 300s; send_timeout 300s;
} }
location /storage {
proxy_pass http://backend;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
error_page 404 =200 /index.html; error_page 404 =200 /index.html;
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';

Loading…
Cancel
Save