API_THREADS_COUNT=${API_THREADS_COUNT:-1} | |
cd $(dirname $0)/.. | |
python3 init_tasks.py | |
uwsgi \ | |
--master \ | |
--http 0.0.0.0:63958 \ | |
--wsgi-file main.py \ | |
--callable app \ | |
--processes 1 \ | |
--threads $API_THREADS_COUNT | |
API_THREADS_COUNT=${API_THREADS_COUNT:-1} | |
cd $(dirname $0)/.. | |
python3 init_tasks.py | |
uwsgi \ | |
--master \ | |
--http 0.0.0.0:63958 \ | |
--wsgi-file main.py \ | |
--callable app \ | |
--processes 1 \ | |
--threads $API_THREADS_COUNT | |