added set -x to figure out why start keycloak is failing

This commit is contained in:
jasquat 2022-08-01 17:37:24 -04:00
parent 1d7864aae3
commit 7a3b3e6085
1 changed files with 1 additions and 0 deletions

View File

@ -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