Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions services
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ addDatabaseIndex () {
stoppingContainers () {
export $(cat .env | grep "#" -v)
echo "Stopping running containers"
${dockerCmd} -f docker-compose/multiple.yml down -v --remove-orphans
docker-compose -f docker-compose/multiple.yml down -v --remove-orphans
}

command="$1"
Expand All @@ -142,7 +142,7 @@ case "${command}" in
echo -e "- \033[1;36mIoT-Agent\033[0m is configured for the UltraLight Protocol"
echo -e "- \033[1mTutorial\033[0m acts as a series of dummy IoT Sensors over HTTP"
echo ""
${dockerCmd} -f docker-compose/multiple.yml up -d --remove-orphans
docker-compose -f docker-compose/multiple.yml up -d --remove-orphans
waitForMongo
addDatabaseIndex
waitForOrion
Expand All @@ -159,7 +159,7 @@ case "${command}" in
echo -e "- \033[1;36mIoT-Agent\033[0m is configured for the UltraLight Protocol"
echo -e "- \033[1mTutorial\033[0m acts as a series of dummy IoT Sensors over HTTP"
echo ""
${dockerCmd} -f docker-compose/mongodb.yml up -d --remove-orphans
docker-compose -f docker-compose/mongodb.yml up -d --remove-orphans
waitForMongo
addDatabaseIndex
waitForOrion
Expand All @@ -176,7 +176,7 @@ case "${command}" in
echo -e "- \033[1;36mIoT-Agent\033[0m is configured for the UltraLight Protocol"
echo -e "- \033[1mTutorial\033[0m acts as a series of dummy IoT Sensors over HTTP"
echo ""
${dockerCmd} -f docker-compose/postgres.yml up -d --remove-orphans
docker-compose -f docker-compose/postgres.yml up -d --remove-orphans
waitForMongo
addDatabaseIndex
waitForOrion
Expand Down Expand Up @@ -219,4 +219,4 @@ case "${command}" in
echo "usage: services [create|mongodb|mysql|multiple|postgres|stop]"
exit 127;
;;
esac
esac