Upgrade Keycloak dependency (#60)

* Change ownership not working for key.pem
* Fix Keycloak not importing realm, default path of keycloak to /auth
* Set default path of keycloak to /auth
This commit is contained in:
tobsec
2022-11-17 10:43:59 +01:00
committed by GitHub
parent 43eb2d5f47
commit 1ff38730d2
2 changed files with 13 additions and 14 deletions

View File

@@ -11,18 +11,17 @@ services:
image: quay.io/keycloak/keycloak:latest
hostname: keycloak
volumes:
- ${PWD}/realm-export.json:/export/realm-export.json
- ${PWD}/realm-export.json:/opt/keycloak/data/import/realm-export.json
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
KEYCLOAK_IMPORT: /export/realm-export.json
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
ports:
- 8080:8080
restart: on-failure
command:
- start-dev
- start-dev --import-realm --http-relative-path=/auth
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/auth"]
interval: 30s