2021-05-07 23:50:44 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
keycloak:
|
|
|
|
container_name: keycloak
|
2022-02-12 10:05:27 +01:00
|
|
|
image: quay.io/keycloak/keycloak-x:17.0.0
|
2021-05-07 23:50:44 +02:00
|
|
|
environment:
|
2021-10-29 18:52:39 +02:00
|
|
|
KEYCLOAK_ADMIN: admin
|
|
|
|
KEYCLOAK_ADMIN_PASSWORD: admin
|
2021-05-07 23:50:44 +02:00
|
|
|
DEBUG_PORT: '*:8787'
|
2021-10-29 18:52:39 +02:00
|
|
|
DEBUG: 'true'
|
2022-02-12 10:05:27 +01:00
|
|
|
command: ['start-dev', '--debug', '-Dkeycloak.import=/tmp/import/test-realm.json']
|
2021-05-07 23:50:44 +02:00
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
- 8443:8443
|
|
|
|
- 8787:8787
|
|
|
|
volumes:
|
2021-12-11 18:09:54 +01:00
|
|
|
- ./target/keycloak-restrict-client-auth.jar:/opt/keycloak/providers/keycloak-restrict-client-auth.jar
|
2021-10-01 11:46:44 +02:00
|
|
|
- ./src/test/resources/:/tmp/import
|