BAEL-7704 : (CONFIGURATION)

BAEL-7704 :

Update to latest spring-addons.

Fix conf: authentication converter was no used by the security
filter-chain.

Add docker compose file for a Keycloak instance with an imported realm.
This commit is contained in:
ch4mpy
2024-04-20 03:02:41 -10:00
parent 979f4ffb2c
commit eb4996272b
18 changed files with 2065 additions and 100 deletions
@@ -0,0 +1,23 @@
name: baeldung-testing-oauth2
services:
keycloak:
image: quay.io/keycloak/keycloak:24.0.0
volumes:
- ./keycloak/import/:/opt/keycloak/data/import/
command:
- start-dev
- --import-realm
ports:
- 8080:8080
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD}
KC_HTTP_PORT: 8080
KC_HOSTNAME_URL: http://localhost:8080
KC_HOSTNAME_ADMIN_URL: http://localhost:8080
KC_HTTP_RELATIVE_PATH: /
#KC_LOG_LEVEL: DEBUG
container_name: baeldung-testing-oauth2
extra_hosts:
- "host.docker.internal:host-gateway"