diff --git a/bin/start_keycloak b/bin/start_keycloak index b6c4bacc..bb353690 100755 --- a/bin/start_keycloak +++ b/bin/start_keycloak @@ -6,6 +6,7 @@ function error_handler() { } trap 'error_handler ${LINENO} $?' ERR set -o errtrace -o errexit -o nounset -o pipefail +set -x docker rm keycloak 2>/dev/null || echo 'no keycloak container found' docker run -p 7002:8080 -d --name keycloak -e KEYCLOAK_LOGLEVEL=ALL -e ROOT_LOGLEVEL=ALL -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:18.0.2 start-dev -Dkeycloak.profile.feature.token_exchange=enabled -Dkeycloak.profile.feature.admin_fine_grained_authz=enabled