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

#if no container is running
if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ] ; then
    echo "pyros-db or pyros weren't running, starting them..."
    ./PYROS_DOCKER_START.bat
fi

docker compose exec pyros python3 pyros.py -d start webserver $@
#docker compose exec pyros python3 pyros.py -d start webserver $@
#docker compose exec pyros python3 pyros.py -d start -o tnc -fg webserver $@
#docker exec -it pyros python3 pyros.py start webserver $@
#docker exec -it pyros python3 pyros.py -d start -o tnc webserver $@