Commit b10658a046fa24965f70f7cfac34fa62d697d53c

Authored by Alexis Koralewski
1 parent ec4214ff
Exists in dev

fix docker scripts with container new names

docker/PYROS_DOCKER_INSTALL
1 1 #!/usr/bin/env bash
2 2  
3 3 # if no container is running
4   -if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 2 ]
  4 +if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 3 ]
5 5 then
6 6 echo "pyros-db or pyros weren't running, starting them..."
7 7 ./PYROS_DOCKER_START.bat
... ...
docker/PYROS_DOCKER_RUN_WEBSERVER_ONLY
... ... @@ -9,4 +9,3 @@ fi
9 9 docker exec -it pyros python3 pyros.py -d start webserver $@
10 10 #docker exec -it pyros python3 pyros.py start webserver $@
11 11 #docker exec -it pyros python3 pyros.py -d start -o tnc webserver $@
12   -s
... ...
docker/PYROS_DOCKER_SHELL
1 1 #!/usr/bin/env bash
2 2  
3 3 #if no container is running
4   -if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 2 ]
  4 +if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 3 ]
5 5 then
6 6 echo "pyros-db or pyros weren't running, starting them..."
7 7 ./PYROS_DOCKER_START.bat
... ...
docker/PYROS_DOCKER_TEST
1 1 #!/usr/bin/env bash
2 2  
3 3 # if no container is running
4   -if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 2 ]
  4 +if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 3 ]
5 5 then
6 6 echo "pyros-db or pyros weren't running, starting them..."
7 7 ./PYROS_DOCKER_START.bat
... ...