This commit is contained in:
Thomas Sileo
2019-04-05 15:14:57 +02:00
parent af46e914bb
commit 6e7bfdd5c1
3 changed files with 24 additions and 7 deletions

2
run.sh
View File

@@ -1,3 +1,3 @@
#!/bin/bash
python -c "import config; config.create_indexes()"
gunicorn -t 300 -w 2 -b 0.0.0.0:5005 --log-level debug app:app
gunicorn -t 300 -w 5 -b 0.0.0.0:5005 --log-level debug app:app