My dash app runs great on my local machine.
I am trying to deploy it on a local network with no internet access for a small number of users less than 5.
Not very familiar with flask, but browsing through the flask documentation:
If you have the debugger disabled or trust the users on your network, you can make the server publicly available simply by adding --host=0.0.0.0 to the command line:
flask run --host=0.0.0.0
So my thinking is adding the above flask run option to the run server function of Dash below. Is there a way to do that? Am I on the right track here? or should i go another path like Gunicorn and nginx here
Yep, you can definitely pass the ‘host’ keyword argument into app.run_server() (where app is a Dash instance) since, as you can see from the snippet you posted, it just passes on any additional keyword arguments to the Flask app’s run method.
0.0.0.0 isn’t an actual ip address, it means all of the ip addresses associated with the local machine. So it will be available through the host’s ip address of the machine on the network.