forked from linux/WebHosting
Merge pull request 'initial commit für tia core mit schmidt michael' (#28) from saparchive into main
Reviewed-on: linux/WebHosting#28
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name saparchive.psi.ch;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name saparchive.psi.ch;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/saparchive.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/saparchive.psi.ch.key;
|
||||
|
||||
location / {
|
||||
proxy_pass http://tiacore-test:9443;
|
||||
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;
|
||||
}
|
||||
}
|
||||
@@ -285,6 +285,29 @@ services:
|
||||
- backend
|
||||
- panda_maintenance_backend
|
||||
|
||||
tiacore:
|
||||
container_name: tiacore-test
|
||||
image: images.kgs-cloud.de/tia/core/saphttp:3.17.1
|
||||
volumes:
|
||||
- /opt/webcontent/tiacore-test/config/license:/application/license
|
||||
# - /opt/kgs/docker/tiacore-P/config/keystore:/application/ssl/keystore
|
||||
- /opt/webcontent/tiacore-test/config:/application/config/
|
||||
# - /opt/kgs/docker/tiacore-P/data:/application/data
|
||||
# - /opt/kgs/docker/certificates:/application/ssl
|
||||
environment:
|
||||
LOGGING_LEVEL_ROOT: INFO
|
||||
# Authentifizierung für WebUI
|
||||
WEBAPP_SECURITY_AUTH_BASIC_USERNAME: admin
|
||||
WEBAPP_SECURITY_AUTH_BASIC_PASSWORD: "$$2a$$10$$5E1KpGIKSq6xuWmGf92bheB17V0l4fEMnVmYPqhWiazKddcx1TF/e"
|
||||
|
||||
# SSL Keystore
|
||||
# SERVER_PORT: 9443
|
||||
# SERVER_SSL_KEYSTORE: /application/ssl/core_keystore.p12
|
||||
# SERVER_SSL_KEYSTOREPASSWORD: changeme
|
||||
# SERVER_SSL_KEYALIAS: kgs
|
||||
# SERVER_SSL_ENABLED: "true"
|
||||
networks:
|
||||
- backend
|
||||
|
||||
networks:
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user