File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ displayServices () {
3535startContainers () {
3636 echo " "
3737 export IDM_HTTPS_ENABLED=" $1 "
38- docker-compose --log-level ERROR -p fiware up -d --remove-orphans
38+ docker compose -p fiware up -d --remove-orphans
3939 echo " "
4040}
4141
4242stoppingContainers () {
43- echo " Stopping containers"
44- docker-compose --log-level ERROR -p fiware down -v --remove-orphans
43+ echo " Stopping running containers"
44+ docker compose -p fiware down -v --remove-orphans
4545}
4646
4747command=" $1 "
@@ -52,7 +52,7 @@ case "${command}" in
5252 " start" )
5353 export $( cat .env | grep " #" -v)
5454 stoppingContainers
55- echo -e " Starting three containers \033[1;31mKeyrock\033[0m, \033[1mTutorial\033[0m and and \033[1mMySQL\033[0m databases."
55+ echo -e " Starting containers: \033[1;31mKeyrock\033[0m, \033[1mTutorial\033[0m and and \033[1mMySQL\033[0m databases."
5656 echo -e " - \033[1mTutorial\033[0m acts as a series of dummy IoT Sensors over HTTP"
5757 echo -e " - \033[1;31mKeyrock\033[0m is an Identity Management Front-End"
5858 startContainers false
@@ -68,7 +68,7 @@ case "${command}" in
6868 export $( cat .env | grep " #" -v)
6969 echo " Pulling Docker images"
7070 docker pull curlimages/curl
71- docker-compose --log-level ERROR -p fiware pull
71+ docker compose -p fiware pull
7272 ;;
7373 * )
7474 echo " Command not Found."
You can’t perform that action at this time.
0 commit comments