Docker server should have multiple workers to work properly.

This commit is contained in:
2018-11-02 02:32:29 +02:00
parent 1fafd859b7
commit 288328f538
3 changed files with 41 additions and 94 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
./manage.py migrate
gunicorn -b 0.0.0.0:8000 -w 1 YtManager.wsgi
gunicorn -b 0.0.0.0:8000 -w 4 YtManager.wsgi