Add a Docker Compose setup with debugging and testing realm
Configure Keycloak to allow attaching a debugger (localhost:8081). Add a testing realm with suitable exmaple entries, and explain how to update and export the realm.
This commit is contained in:
parent
91554ec588
commit
8a03524157
5 changed files with 2449 additions and 13 deletions
17
testing/compose.yaml
Normal file
17
testing/compose.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
services:
|
||||
keycloak:
|
||||
image: quay.io/keycloak/keycloak:26.6.0
|
||||
pull_policy: always
|
||||
command: "start-dev --features=declarative-ui --import-realm"
|
||||
environment:
|
||||
KC_BOOTSTRAP_ADMIN_USERNAME: admin
|
||||
KC_BOOTSTRAP_ADMIN_PASSWORD: admin
|
||||
KC_LOG_LEVEL: info
|
||||
KC_DEBUG: true
|
||||
KC_DEBUG_PORT: "*:8081"
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8081:8081"
|
||||
volumes:
|
||||
- ./import:/opt/keycloak/data/import/
|
||||
- ../attribute-endpoints-provider/target/attribute-endpoints-provider-1.0-SNAPSHOT.jar:/opt/keycloak/providers/attribute-endpoints-provider.jar
|
||||
Loading…
Add table
Add a link
Reference in a new issue