Also wait for redis

This commit is contained in:
Patrick Jentsch 2019-10-25 15:28:45 +02:00
parent 775ddc601e
commit 4eb6e4f831

View File

@ -1,6 +1,10 @@
#!/bin/sh #!/bin/sh
./wait-for-it/wait-for-it.sh db:5432 --strict --timeout=0 echo "Waiting for db..."
wait-for-it/wait-for-it.sh db:5432 --strict --timeout=0
echo "Waiting for redis..."
wait-for-it/wait-for-it.sh redis:6379 --strict --timeout=0
if [ $# -eq 0 ] if [ $# -eq 0 ]
then then
venv/bin/python -u opaque.py venv/bin/python -u opaque.py