shynet/shynet/webserver.sh
2020-05-28 21:40:43 +00:00

8 lines
202 B
Bash
Executable File

#!/bin/bash
# Start Gunicorn processes
echo Launching Shynet web server...
exec gunicorn shynet.wsgi:application \
--bind 0.0.0.0:${PORT:-8080} \
--workers ${NUM_WORKERS:-1} \
--timeout 100