18 lines
600 B
YAML
Executable file
18 lines
600 B
YAML
Executable file
version: '3'
|
|
services:
|
|
keycloak:
|
|
container_name: keycloak
|
|
image: quay.io/keycloak/keycloak-x:15.1.0
|
|
environment:
|
|
KEYCLOAK_ADMIN: admin
|
|
KEYCLOAK_ADMIN_PASSWORD: admin
|
|
DEBUG_PORT: '*:8787'
|
|
DEBUG: 'true'
|
|
command: ['--db=h2-file', '--http-enabled=true', '--auto-config', '--debug', '-Dkeycloak.import=/tmp/import/test-realm.json']
|
|
ports:
|
|
- 8080:8080
|
|
- 8443:8443
|
|
- 8787:8787
|
|
volumes:
|
|
- ./target/keycloak-restrict-client-auth.jar:/opt/jboss/keycloak/providers/keycloak-restrict-client-auth.jar
|
|
- ./src/test/resources/:/tmp/import
|