【发布时间】:2020-08-22 09:50:42
【问题描述】:
想知道,是否可以在不同的 Windows 服务器上部署 Plotly Dash App 仪表板? 那么用户可以通过服务器IP访问吗?
谢谢
【问题讨论】:
标签: plotly plotly-dash
想知道,是否可以在不同的 Windows 服务器上部署 Plotly Dash App 仪表板? 那么用户可以通过服务器IP访问吗?
谢谢
【问题讨论】:
标签: plotly plotly-dash
是的,您可以为 Werkzeug 服务器指定参数:
app.run_server(host="<ipaddress>")
如果你在谈论部署,虽然我会考虑使用 Waitress、Gunicorn 或 uWSGI(一些讨论 here)
【讨论】:
是的,您可以在 windows 服务器上部署 Dash 仪表板,但您必须使用 WSGI 文件将 Dash 仪表板嵌入到 Flask Web 框架中。
【讨论】: