docker-superset
docker-superset copied to clipboard
Specifying the number of Celery workers in environment variables
Is your feature request related to a problem? Please describe.
I simply wanted to add more workers in a prod
environment, so I had to edit the docker-entrypoint.sh
starting script. Then rebuild the entire container because I couldn't change that script inside the container without root privilege.
Describe the solution you'd like
Inside the .env
file, have a variable defined as:
# Number of workers
CELERY_WORKERS=2
which will automatically generate the number of workers instead of having it hard-coded to 2
.
Describe alternatives you've considered
Manually changing docker-entrypoint.sh
and rebuilding everything.
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.91. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.