Closed samuk closed 1 year ago
This works:
version: '3'
services:
keycloak:
image: docker.io/bitnami/keycloak:21.1.1
volumes:
- ${PWD}/target/keycloak-magic-link-0.14-SNAPSHOT.jar:/opt/bitnami/keycloak/providers/keycloak-magic-link.jar
environment:
KEYCLOAK_DATABASE_VENDOR: dev-mem
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
ports:
- 8080:8080
Thanks that's helpful
I still get
May 31 15:52:46 keycloak-ownership-clone-u4111 57c55751cd7c[2953]: Exception in thread "main" java.io.EOFException May 31 15:52:46 keycloak-ownership-clone-u4111 57c55751cd7c[2953]: #011at java.base/java.io.DataInputStream.readBoolean(DataInputStream.java:250) May 31 15:52:46 keycloak-ownership-clone-u4111 57c55751cd7c[2953]: #011at io.quarkus.bootstrap.runner.SerializedApplication.read(SerializedApplication.java:119)
It seems likely to be the way I've built the .jar. I'll try that again
Sorry, not able to reproduce this one.
Docker newb here.
I grabbed the latest source from this repo.
Did a mvn clean install locally (Debian)
I then uploaded the resulting .jar to /opt/bitnami/keycloak/providers/keycloak-magic-link-0.13.jar
In docker-compose I have
` keycloak: image: docker.io/bitnami/keycloak:${SOFTWARE_VERSION_TAG} container_name: keycloak restart: always env_file:
.env
volumes:
When I restart the container I get