Blame view

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

#if no container is running
e7016f79   Etienne Pallier   cleanup Dockerfil...
4
if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ] ; then
ec4214ff   Alexis Koralewski   Renaming pyros co...
5
    echo "pyros-db or pyros weren't running, starting them..."
a9d06e6f   Etienne Pallier   new PYROS_DOCKER_...
6
7
    ./PYROS_DOCKER_START.bat
fi
e7016f79   Etienne Pallier   cleanup Dockerfil...
8
9
10
11

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 $@
68c3cc1e   Etienne Pallier   ajout commentaire...
12
13
#docker exec -it pyros python3 pyros.py start webserver $@
#docker exec -it pyros python3 pyros.py -d start -o tnc webserver $@