Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit d78c7bf

Browse files
committed
Change Default Values for Keycloak Environment Variables
Match default subdomains nginx configuration.
1 parent a42e6b4 commit d78c7bf

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

feasibility-portal/down-feasibility-portal.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ COMPOSE_PROJECT=${FEASIBILITY_COMPOSE_PROJECT:-feasibility-deploy}
44

55
BASE_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 || exit 1 ; pwd -P )"
66

7-
docker compose -p "$COMPOSE_PROJECT" -f "$BASE_DIR"/keycloak/docker-compose.yml down
7+
docker compose -p "$COMPOSE_PROJECT" -f "$BASE_DIR"/keycloak/docker-compose.yml down
88

99

1010
docker compose -p "$COMPOSE_PROJECT" -f "$BASE_DIR"/backend/docker-compose.yml down

feasibility-portal/gui/deploy-config.json.default

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"baseUrl": "https://api.datenportal.localhost/api/v4"
1010
},
1111
"auth": {
12-
"baseUrl": "https://example.org/auth",
12+
"baseUrl": "https://auth.datenportal.localhost",
1313
"realm": "feasibility",
1414
"clientId": "feasibility-webapp",
1515
"roles": ["FeasibilityUser"]
@@ -52,4 +52,4 @@
5252
"dataset": "codex",
5353
"queryVersion": "v2",
5454
"proposalPortalLink": "https://antrag.dev.forschen-fuer-gesundheit.de"
55-
}
55+
}

feasibility-portal/keycloak/.env.default

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ FEASIBILITY_KC_DB_PW=keycloakdbpw
44
FEASIBILITY_KC_ADMIN_USER=admin
55
FEASIBILITY_KC_ADMIN_PW=admin
66
FEASIBILITY_KC_HTTP_RELATIVE_PATH=/auth
7-
FEASIBILITY_KC_HOSTNAME_URL=https://example.org/auth
8-
FEASIBILITY_KC_HOSTNAME_ADMIN_URL=https://example.org/auth
7+
FEASIBILITY_KC_HOSTNAME_URL=https://auth.datenportal.localhost
8+
FEASIBILITY_KC_HOSTNAME_ADMIN_URL=https://auth.datenportal.localhost
99
FEASIBILITY_KC_LOG_LEVEL=info
1010
FEASIBILITY_KC_PROXY=edge
11+
FEASIBILITY_BACKEND_BASE_URL=https:/api.datenportal.localhost
1112

feasibility-portal/proxy/subdomains.nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ http {
7373
# Header Options
7474
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
7575
add_header X-Content-Type-Options nosniff;
76-
add_header X-Frame-Options SAMEORIGIN;
77-
76+
add_header X-Frame-Options SAMEORIGIN;
77+
7878
include /etc/nginx/conf.d/*.conf;
7979
}

0 commit comments

Comments
 (0)