本文介绍了在不同的 Windows 服务器上部署 plotly dash 仪表板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想知道,是否可以在不同的 Windows 服务器上部署 Plotly Dash App 仪表板?那么作为用户可以通过服务器IP访问吗?

Would like to find out, is it possible to deploy Plotly Dash App dashboard on a different windows server?So as users can access through the server IP?

谢谢

推荐答案

是的,您可以为 Werkzeug 服务器指定参数:

Yes, you can specify arguments for the Werkzeug server:

app.run_server(host="<ipaddress>")

如果您在谈论部署,我会考虑使用 Waitress、Gunicorn 或 uWSGI(一些讨论 这里)

If you're talking about deployment though I would consider using Waitress, Gunicorn or uWSGI (some discussion here)

这篇关于在不同的 Windows 服务器上部署 plotly dash 仪表板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 08:01
查看更多