Merge pull request 'add scicat-rocrate-dev' (#65) from potier_f/WebHosting:scicat-rocrate-dev into main

Reviewed-on: linux/WebHosting#65
Reviewed-by: bruhn_b <basil.bruhn@psi.ch>
This commit is contained in:
2026-06-26 10:19:51 +02:00
2 changed files with 38 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
server {
listen 80;
server_name scicat-rocrate-development.psi.ch;
client_max_body_size 10G;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
client_max_body_size 10G;
server_name scicat-rocrate-development.psi.ch;
ssl_certificate /etc/nginx/certs/scicat-rocrate-development.psi.ch.crt;
ssl_certificate_key /etc/nginx/private/scicat-rocrate-development.psi.ch.key;
location / {
proxy_pass http://scicat-rocrate-dev: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;
proxy_set_header Cookie $http_cookie;
proxy_set_header Authorization $http_authorization;
}
}
+13
View File
@@ -480,6 +480,19 @@ services:
- tomcatwiki_backend
- backend
scicat-rocrate-dev:
image: gitea.psi.ch/data-catalog-services/scicat-rocrate:2.5.2
container_name: scicat-rocrate-dev
restart: always
networks:
- backend
environment:
- QUARKUS_REST_CLIENT_SCICAT_URL=https://scicat.development.psi.ch
- QUARKUS_REST_CLIENT_S3BROKER_URL=https://s3-broker.development.psi.ch
- QUARKUS_HTTP_LIMITS_MAX_BODY_SIZE=10G
volumes:
- /opt/webcontent/rocrate-dev/dev:/ro-crate:rw
networks:
public:
backend: