mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
Updated entrypoint.sh to launch celery
This commit is contained in:
parent
f44ddc31ba
commit
0fac5d8e41
2 changed files with 5 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ services:
|
|||
db:
|
||||
image: postgres:14
|
||||
container_name: dispatcharr_db
|
||||
ports:
|
||||
- "5436:5432"
|
||||
environment:
|
||||
- POSTGRES_DB=dispatcharr
|
||||
- POSTGRES_USER=dispatch
|
||||
|
|
|
|||
|
|
@ -83,5 +83,8 @@ service redis-server start
|
|||
python manage.py collectstatic --noinput || true
|
||||
python manage.py migrate --noinput || true
|
||||
|
||||
# Start Celery
|
||||
celery -A dispatcharr worker --loglevel=info &
|
||||
|
||||
# Start Gunicorn
|
||||
gunicorn --workers=4 --worker-class=gevent --timeout=300 --bind 0.0.0.0:9191 dispatcharr.wsgi:application
|
||||
Loading…
Add table
Add a link
Reference in a new issue