docker-superset icon indicating copy to clipboard operation
docker-superset copied to clipboard

Specifying the number of Celery workers in environment variables

Open yanickrochon opened this issue 4 years ago • 1 comments

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.

yanickrochon avatar Jun 15 '20 18:06 yanickrochon

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.

issue-label-bot[bot] avatar Jun 15 '20 18:06 issue-label-bot[bot]