MCDA SRF and PCT config

This commit is contained in:
cx7388
2026-03-04 19:49:57 +01:00
parent 5b1f757062
commit 6044b1cb27
3 changed files with 49 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
server {
listen 80;
server_name mcda-pct-test.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name mcda-pct-test.psi.ch;
ssl_certificate /etc/nginx/certs/mcda-pct-test.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/mcda-pct-test.psi.ch.key;
location / {
proxy_pass http://mcda-pct:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
+21
View File
@@ -0,0 +1,21 @@
server {
listen 80;
server_name mcda-srf-test.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name mcda-srf-test.psi.ch;
ssl_certificate /etc/nginx/certs/mcda-srf-test.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/mcda-srf-test.psi.ch.key;
location / {
proxy_pass http://mcda-srf:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
+7
View File
@@ -116,6 +116,13 @@ services:
networks:
- backend
# MCDA SRF tool
mcda-pct:
image: gitea.psi.ch/images/mcda-pct:0.2.0
container_name: mcda-pct
restart: always
networks:
- backend
# Romain Sacchi <romain.sacchi@psi.ch>
swiss-ecargo: