#!/bin/sh -e QUICKSTART_FOLDER=quickstart me=`basename "$0"` if [ ! -f gradlew ]; then echo "Please, run this script from the project root using : ${QUICKSTART_FOLDER}/${me}" exit 1 fi COMPOSE_CONFIG_FILE_OPTION="-f ${QUICKSTART_FOLDER}/docker-compose.yml" # Build and run containers and network docker-compose ${COMPOSE_CONFIG_FILE_OPTION} build --force-rm docker-compose ${COMPOSE_CONFIG_FILE_OPTION} up -d --scale node=4 ${QUICKSTART_FOLDER}/listQuickstartServices.sh