If for some reason the service is restarted, the wait on the keycloak must be done before running init-keycloak.
init-keycloak