proxy / app /start.sh
cahya's picture
add console
b3f74c9
raw
history blame
399 Bytes
#!/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