2021-05-07 23:50:44 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
keycloak:
|
|
|
|
container_name: keycloak
|
2023-07-21 12:09:46 +02:00
|
|
|
image: quay.io/keycloak/keycloak:22.0.1
|
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'
|
2023-03-02 22:06:51 +01:00
|
|
|
command: ['start-dev', '--debug', '--import-realm', '--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
|
2023-03-02 22:06:51 +01:00
|
|
|
- ./src/test/resources/:/opt/keycloak/data/import
|