diff --git a/custom-user-federation-example/src/main/resources/META-INF/jboss-deployment-structure.xml b/custom-user-federation-example/src/main/resources/META-INF/jboss-deployment-structure.xml new file mode 100644 index 000000000..853a6bff9 --- /dev/null +++ b/custom-user-federation-example/src/main/resources/META-INF/jboss-deployment-structure.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 7088737c2..1cf08e080 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,8 +32,13 @@ services: - DB_USER=keycloak - DB_DATABASE=keycloak - DB_PASSWORD=password +# Enable for remote java debugging +# - PREPEND_JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8787 ports: - 8080:8080 +# Enable for remote java debugging +# - 8787:8787 volumes: - - ./custom-user-federation-example/build/libs:/opt/jboss/keycloak/providers/ +# Make the custom-user-federation-example extension available to Keycloak. The :z option is required and tells Docker that the volume content will be shared between containers. + - ./custom-user-federation-example/build/libs/custom-user-federation-example.jar:/opt/jboss/keycloak/standalone/deployments/custom-user-federation-example.jar:z