diff --git a/conf.d/scicat-rocrate-dev.conf b/conf.d/scicat-rocrate-dev.conf index ef0905f..33b66c3 100644 --- a/conf.d/scicat-rocrate-dev.conf +++ b/conf.d/scicat-rocrate-dev.conf @@ -1,20 +1,19 @@ server { listen 80; server_name scicat-rocrate-development.psi.ch; - client_max_body_size 50M; + client_max_body_size 10G; return 301 https://$host$request_uri; } server { listen 443 ssl; - client_max_body_size 50M; + 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 / { - 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; diff --git a/docker-compose.yaml b/docker-compose.yaml index 69a27b7..ddceed4 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -481,13 +481,15 @@ services: - backend scicat-rocrate-dev: - image: gitea.psi.ch/data-catalog-services/scicat-rocrate:2.4.4 + 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