Skip to content

Migrate from flask server to gunicorn #154

@italovalcy

Description

@italovalcy

We should provide instructions and eventually make adjustments to allow running the Dashboard in production with gunicorn web server, rather than Flask web server (flask run), which is very suitable for development but not delivers good performance and robustness.

See more discussion on this topic on Flask's documentation:

I suggest we go with gunicorn, which is also a WSGI server and this seems to be a more smooth transition.

Initial tests showed that web sockets were broken when using gunicorn though. Maybe something to do with proxy_allow_ips

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions