Blame view

docker/PYROS_DOCKER_RUN_WEBSERVER_ONLY 389 Bytes
a9d06e6f   Etienne Pallier   new PYROS_DOCKER_...
1
2
3
#!/usr/bin/env bash

#if no container is running
e1d22a59   Alexis Koralewski   Change redis cont...
4
if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
a9d06e6f   Etienne Pallier   new PYROS_DOCKER_...
5
then
ec4214ff   Alexis Koralewski   Renaming pyros co...
6
    echo "pyros-db or pyros weren't running, starting them..."
a9d06e6f   Etienne Pallier   new PYROS_DOCKER_...
7
8
    ./PYROS_DOCKER_START.bat
fi
68c3cc1e   Etienne Pallier   ajout commentaire...
9
10
11
docker exec -it pyros python3 pyros.py -d start webserver $@
#docker exec -it pyros python3 pyros.py start webserver $@
#docker exec -it pyros python3 pyros.py -d start -o tnc webserver $@