From 93533cc45fb9a4d5b880a2b693f826285e74ac8d Mon Sep 17 00:00:00 2001 From: clumsy9 Date: Sat, 23 Mar 2024 16:16:31 +0100 Subject: [PATCH] Update FDA to version 0.21.0 in quickstart example (#544) * Unset 'CORS_ALLOW_ALL_ORIGINS' for fda-api * update fda to version 0.21.0 --------- Co-authored-by: ekneg54 --- quickstart/docker-compose.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/quickstart/docker-compose.yml b/quickstart/docker-compose.yml index 40f517b2b..d94a2ea51 100644 --- a/quickstart/docker-compose.yml +++ b/quickstart/docker-compose.yml @@ -161,7 +161,7 @@ services: - ../quickstart/exampledata/config/keycloak:/docker-entrypoint-initdb.d fda-api: container_name: fda-api - image: registry.gitlab.com/z-e-u-s/fda/fda-backend:0.16.0 + image: registry.gitlab.com/z-e-u-s/fda/fda-backend:0.21.0 network_mode: host expose: - 8000 @@ -172,14 +172,15 @@ services: POSTGRES_HOST: localhost POSTGRES_PORT: 25432 DJANGO_SECRET_KEY: "django-insecure-*w($$5i@@iq%!ygufa%%@nfdplt(!e#hoahnjy^@6xdutl8mlqz" - ALLOWED_HOSTS: '["*"]' - CORS_ALLOWED_ORIGINS: '["http://localhost"]' + ALLOWED_HOSTS: "*" + CORS_ALLOWED_ORIGINS: "http://localhost" KEYCLOAK_SERVER_URL: "http://localhost:8080" KEYCLOAK_REALM: logprep KEYCLOAK_CLIENT_ID: fda-backend KEYCLOAK_CLIENT_SECRET: tYfkKygb1g2Hf6fmAInoq3XPK1OILbSp KEYCLOAK_CLIENT_ID_FOR_AUTHZ_ROLES: fda SERVICE_BASE_URL: 'http://localhost:8000/' + SECURE_REDIRECT_EXEMPT: '[".*localhost.*"]' depends_on: fda-db: condition: service_healthy @@ -205,7 +206,7 @@ services: timeout: 5s retries: 10 fda-frontend: - image: registry.gitlab.com/z-e-u-s/fda/fda-frontend:0.16.0 + image: registry.gitlab.com/z-e-u-s/fda/fda-frontend:0.21.0 container_name: fda-frontend network_mode: host restart: always