how to run celery on railway
ehab98TRIAL
9 months ago
i have created a service with the same repo of the project and make the custom start command , to run celery "celery -A core worker --loglevel=info" , but i got that i can`t run celery as a root , how to solve this
Aug 17 18:23:58
/opt/venv/lib/python3.10/site-packages/celery/platforms.py:829: SecurityWarning: You're running the worker with superuser privileges: this is
absolutely not recommended!
Please specify a different user using the --uid option.
User information: uid=0 euid=0 gid=0 egid=0
warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format(
1 Replies
9 months ago
Please try setting the concurrency to 1 - https://docs.celeryq.dev/en/stable/userguide/workers.html#concurrency