build: updated config for redis and wait_for_db command

This commit is contained in:
pablohashescobar 2022-12-13 20:47:49 +05:30
parent db10c884e8
commit 4414a71331
7 changed files with 40 additions and 21 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash
set -e
python manage.py wait_for_db
python manage.py migrate
exec gunicorn plane.wsgi -k gthread --workers 8 --bind 0.0.0.0:8000 --config gunicorn.config.py --max-requests 10000 --max-requests-jitter 1000 --access-logfile -

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -e
python manage.py wait_for_db
python manage.py migrate
python manage.py rqworker