Skip to content

Commit

Permalink
Run the importer both up and init
Browse files Browse the repository at this point in the history
It creates tables when the table is non existant
  • Loading branch information
bradsawadye committed Feb 5, 2024
1 parent 1ecfb4e commit 4999d46
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions identity-access-manager-keycloak/swarm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ function initialize_package() {
(
docker::await_service_status "postgres" "postgres-1" "Running"

if [[ "${ACTION}" == "init" ]]; then
docker::deploy_config_importer "postgres" "$COMPOSE_FILE_PATH/importer/docker-compose.config.yml" "kc_db_config" "keycloak"
fi
docker::deploy_config_importer "postgres" "$COMPOSE_FILE_PATH/importer/docker-compose.config.yml" "kc_db_config" "keycloak"

docker::deploy_service $STACK "${COMPOSE_FILE_PATH}" "docker-compose.yml" "$keycloak_dev_compose_filename"
) ||
Expand Down

0 comments on commit 4999d46

Please sign in to comment.