brunneis's picture
Init tasks on startup
d984dfd unverified
raw
history blame
224 Bytes
#!/bin/bash
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