File size: 399 Bytes
41649f8 017b3a2 b3f74c9 41649f8 b3f74c9 a536fb0 41649f8 6cdda15 41649f8 6cdda15 41649f8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
#!/usr/bin/env bash
set -e
cd /home/user/app
echo "Console Auth <$CONSOLE_AUTH>"
/usr/local/bin/ttyd -c user:testxyz1 -p 7681 /bin/bash
nginx
python whisper.py&
if [ "$DEBUG" = true ] ; then
echo 'Debugging - ON'
uvicorn web_socket:app --host 0.0.0.0 --port 7880 --reload
else
echo 'Debugging - OFF'
uvicorn web_socket:app --host 0.0.0.0 --port 7880
echo $?
echo END
fi
|