Merge pull request 'KGS document router deployment' (#42) from sap_docrouter into main

Reviewed-on: linux/WebHosting#42
This commit is contained in:
2026-01-26 13:34:13 +01:00
3 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
server {
listen 80;
server_name sapdocrouter-test.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name sapdocrouter-test.psi.ch;
ssl_certificate /etc/nginx/certs/sapdocrouter-test.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/sapdocrouter-test.psi.ch.key;
location / {
proxy_pass http://tiadocrouter-test: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
conf.d/sapdocrouter.conf Normal file
View File

@@ -0,0 +1,21 @@
server {
listen 80;
server_name sapdocrouter.psi.ch;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name sapdocrouter.psi.ch;
ssl_certificate /etc/nginx/certs/sapdocrouter.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/sapdocrouter.psi.ch.key;
location / {
proxy_pass http://tiadocrouter-prod: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;
}
}

View File

@@ -335,6 +335,42 @@ services:
networks:
- backend
# michael.schmidt@psi.ch
# SAP Document Router von der Firma KGS supportabteilung@kgs-software.com
documentrouter-prod:
container_name: tiadocrouter-prod
image: images.docker.kgs-cloud.de/tia-documentrouter/tia-documentrouter:5.1.3
volumes:
- /opt/webcontent/tiadocrouter-prod/work:/application/work
- /opt/webcontent/tiadocrouter-prod/lib:/application/lib
- /opt/webcontent/tiadocrouter-prod/config:/application/config
# - <scanfolder01>:/application/dr-instance-01-input
environment:
LOGGING_LEVEL_ROOT: INFO
# Authentifizierung für WebUI
WEBAPP_SECURITY_AUTH_BASIC_USERNAME: psiadmin
WEBAPP_SECURITY_AUTH_BASIC_PASSWORD: "$$2y$$10$$LA.TjBKRIDM/c6AJ86BZ/elpa9InzVbzqzLsyfc1Wt7h3S3N8MUPm"
networks:
- backend
# michael.schmidt@psi.ch
# SAP Document Router von der Firma KGS supportabteilung@kgs-software.com
documentrouter-test:
container_name: tiadocrouter-test
image: images.docker.kgs-cloud.de/tia-documentrouter/tia-documentrouter:5.1.3
volumes:
- /opt/webcontent/tiadocrouter-test/work:/application/work
- /opt/webcontent/tiadocrouter-test/lib:/application/lib
- /opt/webcontent/tiadocrouter-test/config:/application/config
# - <scanfolder01>:/application/dr-instance-01-input
environment:
LOGGING_LEVEL_ROOT: INFO
# Authentifizierung für WebUI
WEBAPP_SECURITY_AUTH_BASIC_USERNAME: psiadmin
WEBAPP_SECURITY_AUTH_BASIC_PASSWORD: "$$2y$$10$$LA.TjBKRIDM/c6AJ86BZ/elpa9InzVbzqzLsyfc1Wt7h3S3N8MUPm"
networks:
- backend
# Lange Clemens <clemens.lange@psi.ch>
# summer-project-selection.psi.ch
summer-project-selection: