-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #457 from medizininformatik-initiative/224-add-ope…
…nid-connect-client-credentials-flow Add oauth2 Client Credentials Flow
- Loading branch information
Showing
45 changed files
with
1,263 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM registry.access.redhat.com/ubi9 AS ubi-micro-build | ||
RUN mkdir -p /mnt/rootfs | ||
RUN dnf install --installroot /mnt/rootfs curl jq --releasever 9 --setopt install_weak_deps=false --nodocs -y && \ | ||
dnf --installroot /mnt/rootfs clean all && \ | ||
rpm --root /mnt/rootfs -e --nodeps setup | ||
|
||
FROM quay.io/keycloak/keycloak:26.0.7 | ||
COPY --from=ubi-micro-build /mnt/rootfs / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: keycloak | ||
|
||
services: | ||
keycloak: | ||
build: | ||
dockerfile: Dockerfile | ||
command: | ||
- start-dev | ||
- --import-realm | ||
ports: [ "8080:8080" ] | ||
volumes: | ||
- ./import:/opt/keycloak/data/import | ||
environment: | ||
KC_HEALTH_ENABLED: true | ||
healthcheck: | ||
test: [ "CMD-SHELL", "curl -v -sf http://localhost:9000/health > /tmp/health.json && cat /tmp/health.json | tr -d '%' | jq -e '.status == \"UP\"' || exit 1" ] | ||
interval: 10s | ||
timeout: 5s | ||
retries: 3 | ||
start_period: 15s |
Oops, something went wrong.