forked from linux/WebHosting
deploy pepisco container
Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name pepisco-test.psi.ch;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name pepisco-test.psi.ch;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/pepisco-test.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/pepisco-test.psi.ch.key;
|
||||
|
||||
location / {
|
||||
proxy_pass http://pepisco-test:5555;
|
||||
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;
|
||||
}
|
||||
}
|
||||
@@ -124,6 +124,16 @@ services:
|
||||
networks:
|
||||
- backend
|
||||
|
||||
# PEPISCO <andras.boedi@psi.ch> <patrick.hemberger@psi.ch>
|
||||
# PhotoElectron PhotoIon Spectral COmpendium
|
||||
pepisco:
|
||||
image: gitea.psi.ch/boedi/pepisco:v2026.03.06
|
||||
# image: gitea.psi.ch/images/pepisco:v2026.03.13
|
||||
container_name: pepisco-test
|
||||
restart: always
|
||||
networks:
|
||||
- backend
|
||||
|
||||
# Romain Sacchi <romain.sacchi@psi.ch>
|
||||
swiss-ecargo:
|
||||
image: gitea.psi.ch/sacchi_r/swiss-ecargo:0.1.2
|
||||
|
||||
Reference in New Issue
Block a user