Sign in before continuing.
Running celery worker as root
One-sentence description
Running celery worker as root is not recommended.
Current behaviour
When using the docker-compose.yml file, the following warning is shown:
celery_1 | /usr/local/lib/python3.5/site-packages/celery/platforms.py:796: RuntimeWarning: You're running the worker with superuser privileges: this is
celery_1 | absolutely not recommended!
Expected behaviour
The celery worker is not run as root (and the warning is not shown).
Steps to reproduce
- Run
docker-compose up.