From 3a881653b8edc97d7ef58ad71fddd7aca95d83b3 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 15 Mar 2020 13:57:41 +0100 Subject: [PATCH] Use existing env vars --- sbin/dokku-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/dokku-entrypoint.sh b/sbin/dokku-entrypoint.sh index 6b9ade7..1c88de7 100755 --- a/sbin/dokku-entrypoint.sh +++ b/sbin/dokku-entrypoint.sh @@ -7,7 +7,7 @@ add_user() { keycloak_add_user_script="/opt/jboss/keycloak/bin/add-user-keycloak.sh" - if $keycloak_add_user_script -r master -u "$ADMIN_USER" -p "$ADMIN_PASS"; then + if $keycloak_add_user_script -r master -u "$KEYCLOAK_USER" -p "$KEYCLOAK_PASSWORD"; then echo "=====> root user added" else echo "=====> Failed to add root user"