Skip to content

Commit 1ebb0c7

Browse files
committed
Update Service Script
1 parent b5b2fbd commit 1ebb0c7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

services

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ case "${command}" in
3434
"help")
3535
echo "usage: services [start|stop]"
3636
;;
37-
"start")
37+
"start")
38+
export $(cat .env | grep "#" -v)
3839
stoppingContainers;
3940
echo -e "Starting two containers - \033[1;35mKurento\033[0m and \033[1mKurento-Examples (hello-world)\033[0m"
4041
echo -e "- \033[1;35mKurento\033[0m is a Media Server"
@@ -84,9 +85,11 @@ case "${command}" in
8485
startingContainers;
8586
;;
8687
"stop")
88+
export $(cat .env | grep "#" -v)
8789
stoppingContainers
8890
;;
8991
"create")
92+
export $(cat .env | grep "#" -v)
9093
echo "Pulling Docker images"
9194
docker-compose --log-level ERROR -f docker-compose/kurento.yml -p fiware pull
9295
docker-compose --log-level ERROR -f docker-compose/kurento-with-filters.yml -p fiware pull

0 commit comments

Comments
 (0)