Skip to content

Commit 7a03a5d

Browse files
committed
Move project name to env
1 parent cb5cd83 commit 7a03a5d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

services

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ set -e
99

1010
stoppingContainers () {
1111
echo "Stopping running containers"
12-
docker compose -f docker-compose/kurento-with-filters.yml -p fiware down -v --remove-orphans
12+
docker-compose -f docker-compose/kurento-with-filters.yml down -v --remove-orphans
1313
}
1414
startingContainers () {
1515
echo -e "Starting containers: - \033[1;35mKurento\033[0m and \033[1mKurento-Examples (${command})\033[0m"
1616
echo -e "- \033[1;35mKurento\033[0m is a Media Server"
1717
echo -e "- \033[1mKurento-Examples\033[0m displays a web app to access the web-cam"
1818
echo ""
19-
TUTORIAL_NAME=${command} docker compose -f docker-compose/kurento-with-filters.yml -p fiware up -d --remove-orphans
19+
TUTORIAL_NAME=${command} docker-compose -f docker-compose/kurento-with-filters.yml up -d --remove-orphans
2020
echo ""
2121
echo -e "Now open \033[4mhttps://localhost:8443\033[0m"
2222
}
@@ -41,7 +41,7 @@ case "${command}" in
4141
echo -e "- \033[1;35mKurento\033[0m is a Media Server"
4242
echo -e "- \033[1mKurento-Examples\033[0m displays a web app to access the web-cam"
4343
echo ""
44-
docker compose -f docker-compose/kurento.yml -p fiware up -d --remove-orphans
44+
docker-compose -f docker-compose/kurento.yml up -d --remove-orphans
4545
echo ""
4646
echo -e "Now open \033[4mhttps://localhost:8443\033[0m"
4747
;;
@@ -56,7 +56,7 @@ case "${command}" in
5656
"hello-world")
5757
stoppingContainers;
5858
echo -e "Starting containers: - \033[1;35mKurento\033[0m and \033[1mKurento-Examples (hello-world)\033[0m"
59-
docker compose -f docker-compose/kurento.yml -p fiware up -d --remove-orphans
59+
docker-compose -f docker-compose/kurento.yml up -d --remove-orphans
6060
echo ""
6161
echo -e "Now open \033[4mhttps://localhost:8443\033[0m"
6262
;;
@@ -92,7 +92,7 @@ case "${command}" in
9292
export $(cat .env | grep "#" -v)
9393
echo "Pulling Docker images"
9494
docker pull curlimages/curl
95-
docker compose -f docker-compose/kurento.yml -p fiware pull
96-
docker compose -f docker-compose/kurento-with-filters.yml -p fiware pull
95+
docker-compose -f docker-compose/kurento.yml pull
96+
docker-compose -f docker-compose/kurento-with-filters.yml pull
9797
;;
9898
esac

0 commit comments

Comments
 (0)