Skip to content

Commit

Permalink
Upd: Remove and rerun keycloak container on running make setup second…
Browse files Browse the repository at this point in the history
… time

Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Nov 15, 2023
1 parent 9705178 commit 1dc46b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/scripts/setup-development-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ KEYCLOAK_USER=$(jq -r .Iam.AdminUser< "$CONFIG_FILE")
KEYCLOAK_PASSWORD=$(jq -r .Iam.AdminPassword < "$CONFIG_FILE")

(docker ps -af "name=${CONTAINER_MONGO}" | grep "${CONTAINER_MONGO}" > /dev/null) && docker rm -f "${CONTAINER_MONGO}" > /dev/null
(docker ps -af "name=${CONTAINER_KEYCLOAK}" | grep "${CONTAINER_KEYCLOAK}" > /dev/null) && docker rm -f "${CONTAINER_KEYCLOAK}" > /dev/null

ARCH=$(uname -m)

Expand Down

0 comments on commit 1dc46b4

Please sign in to comment.