Blame view

docker/PYROS_DOCKER_SHELL 325 Bytes
e64cdd09   ALEXIS-PC\alexis   improving check a...
1
#!/usr/bin/env bash
e1e75163   Alexis Koralewski   fixing issue with...
2

a1cd846d   Alexis Koralewski   add export on pyr...
3
4
5
export CURRENT_UID=$(id -u)
export COMPUTER_HOSTNAME=$HOSTNAME

e1e75163   Alexis Koralewski   fixing issue with...
6
#if no container is running
e1d22a59   Alexis Koralewski   Change redis cont...
7
if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
e1e75163   Alexis Koralewski   fixing issue with...
8
then
ec4214ff   Alexis Koralewski   Renaming pyros co...
9
    echo "pyros-db or pyros weren't running, starting them..."
b1e4e4dd   Etienne Pallier   Renamed scripts P...
10
    ./PYROS_DOCKER_START
2da110b4   Etienne Pallier   fix call to START...
11
    #./PYROS_DOCKER_START.bat
e1e75163   Alexis Koralewski   fixing issue with...
12
fi
1b11a72f   Alexis Koralewski   Update docker scr...
13
docker compose exec pyros bash $@
0e02606c   Etienne Pallier   Changed version n...