Blame view

docker/PYROS_DOCKER_RUN_WEBSERVER_ONLY 565 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..."
b1e4e4dd   Etienne Pallier   Renamed scripts P...
6
7
    ./PYROS_DOCKER_START
    #./PYROS_DOCKER_START.bat
a9d06e6f   Etienne Pallier   new PYROS_DOCKER_...
8
fi
e7016f79   Etienne Pallier   cleanup Dockerfil...
9
10

docker compose exec pyros python3 pyros.py -d start webserver $@
1b11a72f   Alexis Koralewski   Update docker scr...
11
#docker compose exec pyros python3 pyros.py -d start webserver $@
e7016f79   Etienne Pallier   cleanup Dockerfil...
12
#docker compose exec pyros python3 pyros.py -d start -o tnc -fg webserver $@
68c3cc1e   Etienne Pallier   ajout commentaire...
13
14
#docker exec -it pyros python3 pyros.py start webserver $@
#docker exec -it pyros python3 pyros.py -d start -o tnc webserver $@