version: '3' services: keycloak: container_name: keycloak image: quay.io/keycloak/keycloak:15.0.2 environment: DB_VENDOR: h2 KEYCLOAK_USER: admin KEYCLOAK_PASSWORD: admin KEYCLOAK_IMPORT: /tmp/import/test-realm.json DEBUG_PORT: '*:8787' DEBUG_MODE: 'true' command: '--debug' ports: - 8080:8080 - 8443:8443 - 8787:8787 - 9990:9990 volumes: - ./target/keycloak-restrict-client-auth.jar:/opt/jboss/keycloak/providers/keycloak-restrict-client-auth.jar - ./src/test/resources/:/tmp/import