docker: added worker healthcheck option for entrypoint.sh
This commit is contained in:
parent
127808e1f1
commit
0bd1facb88
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@ webstatic-async)
|
|||
worker)
|
||||
exec celery -A c3nav worker --max-tasks-per-child 300 --concurrency 2 -l INFO -E
|
||||
;;
|
||||
worker_healthcheck)
|
||||
exec celery -A c3nav inspect ping -d "celery@${HOSTNAME}"
|
||||
;;
|
||||
beat)
|
||||
exec celery -A c3nav beat -l INFO
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue