2021-05-07 23:50:44 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
keycloak:
|
|
|
|
container_name: keycloak
|
2021-09-30 21:21:02 +02:00
|
|
|
image: quay.io/keycloak/keycloak:15.0.2
|
2021-05-07 23:50:44 +02:00
|
|
|
environment:
|
|
|
|
DB_VENDOR: h2
|
|
|
|
KEYCLOAK_USER: admin
|
|
|
|
KEYCLOAK_PASSWORD: admin
|
2021-10-01 11:46:44 +02:00
|
|
|
KEYCLOAK_IMPORT: /tmp/import/test-realm.json
|
2021-05-07 23:50:44 +02:00
|
|
|
DEBUG_PORT: '*:8787'
|
|
|
|
DEBUG_MODE: 'true'
|
|
|
|
command: '--debug'
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
- 8443:8443
|
|
|
|
- 8787:8787
|
|
|
|
- 9990:9990
|
|
|
|
volumes:
|
2021-10-01 08:53:57 +02:00
|
|
|
- ./target/keycloak-restrict-client-auth.jar:/opt/jboss/keycloak/providers/keycloak-restrict-client-auth.jar
|
2021-10-01 11:46:44 +02:00
|
|
|
- ./src/test/resources/:/tmp/import
|