From 6db0dfbd0a442de452b327550a02481bee8247ae Mon Sep 17 00:00:00 2001 From: fpotier Date: Thu, 7 May 2026 10:59:01 +0200 Subject: [PATCH] add scicat-rocrate-dev --- conf.d/scicat-rocrate-dev.conf | 26 ++++++++++++++++++++++++++ docker-compose.yaml | 9 +++++++++ 2 files changed, 35 insertions(+) create mode 100644 conf.d/scicat-rocrate-dev.conf diff --git a/conf.d/scicat-rocrate-dev.conf b/conf.d/scicat-rocrate-dev.conf new file mode 100644 index 0000000..ef0905f --- /dev/null +++ b/conf.d/scicat-rocrate-dev.conf @@ -0,0 +1,26 @@ +server { + listen 80; + server_name scicat-rocrate-development.psi.ch; + client_max_body_size 50M; + return 301 https://$host$request_uri; +} + +server { + listen 443 ssl; + client_max_body_size 50M; + 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 / { + client_max_body_size 50M; + 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; + } +} diff --git a/docker-compose.yaml b/docker-compose.yaml index fbf5e45..386ed2d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -513,6 +513,15 @@ services: - backend restart: always + scicat-rocrate-dev: + image: gitea.psi.ch/data-catalog-services/scicat-rocrate:2.2.9 + container_name: scicat-rocrate-dev + networks: + - backend + environment: + - QUARKUS_REST_CLIENT_SCICAT_URL=https://scicat.development.psi.ch + - QUARKUS_REST_CLIENT_S3BROKER_URL=https://s3-broker.development.psi.ch + networks: public: backend: