The current Keycloak version is 23, represented by a moving 23.0 tag on Quay. Run the Zuul integration with this version since it's probably closer to what organizations are likely to deploy these days (it's what the OpenDev Collaboratory is currently upgrading their deployment to). Drop the database vendor override to H2, since it's the default in these newer Quarkus-based images anyway (and the envvar which was used to set this in the older Wildfly-based images is ignored as best I can tell, so it really was doing nothing). Change-Id: Ifb0b085bb3702e52db8b382c28e1580643e3c33c
29 lines
693 B
YAML
29 lines
693 B
YAML
# Start the quickstart tutorial with `docker-compose -p zuul-tutorial
|
|
# up` (as directed in the instructions) in order for the network to
|
|
# have the expected name so that it can be shared with keycloak.
|
|
|
|
# Version 2.1 is required to specify the network name
|
|
version: '2.1'
|
|
|
|
services:
|
|
keycloak:
|
|
image: quay.io/keycloak/keycloak:23.0
|
|
environment:
|
|
- KEYCLOAK_ADMIN=admin
|
|
- KEYCLOAK_ADMIN_PASSWORD=kcadmin
|
|
- KC_HTTP_PORT=8082
|
|
ports:
|
|
- "8082:8082"
|
|
volumes:
|
|
- "./keycloak/:/opt/keycloak/data/import/:z"
|
|
command:
|
|
- start-dev
|
|
- --import-realm
|
|
networks:
|
|
- zuul
|
|
|
|
networks:
|
|
zuul:
|
|
external: true
|
|
name: zuul-tutorial_zuul
|