Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions java/blockchain-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,21 @@
<artifactId>core</artifactId>
<version>4.9.3</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.9.1</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp-urlconnection</artifactId>
<version>4.9.1</version>
</dependency>
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
Expand Down
15 changes: 13 additions & 2 deletions java/keycloak-extensions/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
FROM quay.io/keycloak/keycloak:legacy
ARG KEYCLOAK_VERSION=18.0.2

ADD target/keyblock-extensions*.jar /opt/jboss/keycloak/standalone/deployments
# See https://www.keycloak.org/server/containers
FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION} as builder

# Install custom providers
ADD target/keyblock-extensions*.jar /opt/keycloak/providers

# quarkus needs build with custom extensions
RUN /opt/keycloak/bin/kc.sh build

FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}
COPY --from=builder /opt/keycloak/ /opt/keycloak/
WORKDIR /opt/keycloak
13 changes: 10 additions & 3 deletions java/keycloak-extensions/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,20 @@ services:
build:
context: .
dockerfile: Dockerfile
args:
KEYCLOAK_VERSION: 18.0.2
volumes:
- ./keyblock-realm-export.json:/tmp/keyblock-realm-export.json
- ./keyblock-realm-export.json:/opt/keycloak/data/import/keyblock-realm-export.json
command:
- "start-dev"
- "--http-enabled=true"
- "--http-port=8080"
- "--import-realm"
environment:
DEBUG: "true"
DEBUG_PORT: "*:8787"
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: password
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: password
KEYCLOAK_IMPORT: /tmp/keyblock-realm-export.json
ports:
- "8580:8080"
Expand Down