ch4mpy eb4996272b 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.
2024-04-20 03:02:41 -10:00

23 lines
627 B
YAML

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"