Skip to content

Commit

Permalink
Revert to use the docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Aug 23, 2021
1 parent 0650b68 commit f40ba75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ displayServices () {

stoppingContainers () {
echo "Stopping running containers"
docker compose -p fiware down -v --remove-orphans
docker-compose down -v --remove-orphans
}

addDatabaseIndex () {
Expand Down Expand Up @@ -72,7 +72,7 @@ case "${command}" in
echo -e "Starting containers: \033[1;34mOrion\033[0m and a \033[1mMongoDB\033[0m database."
echo -e "- \033[1;34mOrion\033[0m is the context broker"
echo ""
docker compose -p fiware up -d --remove-orphans
docker-compose up -d --remove-orphans
waitForMongo
addDatabaseIndex
waitForOrion
Expand All @@ -87,7 +87,7 @@ case "${command}" in
export $(cat .env | grep "#" -v)
echo "Pulling Docker images"
docker pull curlimages/curl
docker compose -p fiware pull
docker-compose pull
;;
*)
echo "Command not Found."
Expand Down

0 comments on commit f40ba75

Please sign in to comment.