store beat schedule on volume

This commit is contained in:
simon 2021-12-08 16:15:25 +07:00
parent 9bb68aac66
commit c475700cdd
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

3
run.sh
View File

@ -36,5 +36,6 @@ export DJANGO_SUPERUSER_PASSWORD=$TA_PASSWORD && \
python manage.py collectstatic --noinput -c
nginx &
celery -A home.tasks worker --loglevel=INFO &
celery -A home beat --loglevel=INFO &
celery -A home beat --loglevel=INFO \
-s "${BEAT_SCHEDULE_PATH:-/cache/celerybeat-schedule}" &
uwsgi --ini uwsgi.ini