Skip to content

ADD: define gunicorn arguments through env/outside parameters #1

@pavlov99

Description

@pavlov99

Current CMD command within the container runs gunicorn + gevent server with default parameters specified in the documentation:

CMD ["gunicorn", "--workers=10", "--worker-class=gevent", "--timeout=120", "--bind=0.0.0.0:8088", "--limit-request-line=0", "--limit-request-field_size=0", "superset:app"]

Note, that default superset runserver is deprecated in favor of gunicorn command, a.k.a. "A proper WSGI HTTP Server"

Command line arguments are hardcoded in the configuration, e.g. --workers=10. Add ability to set them from outside.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions