2021-05-07 23:50:44 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
keycloak:
|
|
|
|
container_name: keycloak
|
2022-12-13 17:23:58 +01:00
|
|
|
image: quay.io/keycloak/keycloak:20.0.2
|
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-07-22 21:02:35 +02:00
|
|
|
command: ['start-dev', '--debug', '-Dkeycloak.import=/tmp/import/test-realm.json', "--features=client-policies"]
|
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
|