PYROS_DOCKER_RUN_WEBSERVER_ONLY 390 Bytes
#!/usr/bin/env bash

#if no container is running
if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 2 ]
then
    echo "db_pyros or pyros weren't running, starting them..."
    ./PYROS_DOCKER_START.bat
fi
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 $@