Start Dash application with wsgi server

Hi All,
First time using a web framework, hope to get advice on the correct approach.
My aim is to have dash application which will be used something about 300 users.

When i started my app with
app.server.run(port=‘8050’, host=‘0.0.0.0’)

there is a massege:

  • Serving Flask app “app” (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off

So how can i start my app in prodaction, with someone WSGI server? Now i have one file (dashboard.py) with my app. Some instructions please.

Flask ships with a web server which is not suitable for production. The documentation lists nginx, apache and as possible alternatives for production and an exemplary, minimal nginx configuration. However the are other options as well of course.

maybe you have an example of deploying dash application on some wsgi server,
for example cherrypy that do not require deep knowledge of web servers.

thanks for your time

Hello @Masya
Maybe this helps!

Also this: DASH Deployment: HELP!

More info:


Could you give us a feedback? I am interested on how you served 300 users :slight_smile: