Skip to content

Commit

Permalink
Fix import pygeoapi realm into keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
francbartoli committed Jul 21, 2023
1 parent 5ad4d40 commit 2095797
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/iam/.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ KEYCLOAK_ADMIN_PASSWORD=admin
# predefined client secret
CLIENT_SECRET=2yholx8r3mqyUJaOoJiZhcqvQDQwmgyD

# to be changed in prodection
# to be changed in production
KC_HOSTNAME=localhost
KC_HEALTH_ENABLED=true
KC_METRICS_ENABLED=true
Expand Down
2 changes: 1 addition & 1 deletion scripts/iam/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
- KC_OVERRIDE=${KC_OVERRIDE} # skip override of data if already exists
command: -v start --http-enabled=true --import-realm
volumes:
- ./keycloak/imports:/opt/keycloak/data/import
- ./keycloak/imports/pygeoapi-realm.json:/opt/keycloak/data/import/pygeoapi-realm.json
depends_on:
postgres:
condition: service_healthy
Expand Down

0 comments on commit 2095797

Please sign in to comment.