keycloak-attribute-endpoint.../testing/compose.yaml
Stefan Bethke f204ab7f28
All checks were successful
/ Verify (pull_request) Successful in 1m12s
Add just the testing setup from #26.
Important: there are changes here to adapt the tests and the Keycloak test realm that are incompatible with the changes in #29. Ultimately, the changes in #29 need to be applied over this.
2026-07-19 10:27:51 +02:00

28 lines
842 B
YAML

services:
keycloak:
image: quay.io/keycloak/keycloak:26.6.0
pull_policy: always
command: "start-dev --features=declarative-ui --import-realm"
environment:
KC_BOOTSTRAP_ADMIN_USERNAME: admin
KC_BOOTSTRAP_ADMIN_PASSWORD: admin
KC_LOG_LEVEL: info
KC_DEBUG: true
KC_DEBUG_PORT: "*:8081"
ports:
- "8080:8080"
- "8081:8081"
networks:
- keycloak
volumes:
- ./import:/opt/keycloak/data/import/
- ../attribute-endpoints-provider/target/attribute-endpoints-provider-1.0-SNAPSHOT.jar:/opt/keycloak/providers/attribute-endpoints-provider.jar
networks:
# force a "local" IP address that Keycloak accepts HTTP (not HTTPS) requests from
keycloak:
driver: bridge
ipam:
config:
- subnet: 192.168.231.128/29
gateway: 192.168.231.129