keycloak-restrict-client-auth/docker-compose.yml

19 lines
562 B
YAML
Raw Normal View History

2021-05-07 23:50:44 +02:00
version: '3'
services:
keycloak:
container_name: keycloak
image: quay.io/keycloak/keycloak:22.0.3
2021-05-07 23:50:44 +02:00
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
2021-05-07 23:50:44 +02:00
DEBUG_PORT: '*:8787'
DEBUG: 'true'
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:
- ./target/keycloak-restrict-client-auth.jar:/opt/keycloak/providers/keycloak-restrict-client-auth.jar
- ./src/test/resources/:/opt/keycloak/data/import