This is truly awesome.
I would like to deploy an application using docker. In order to access the streamlit server outside the container it should be running on 0.0.0.0 (as far as I now). How do I do that?
I’ve tried playing around with the config.toml file without luck.
If I was running a flask web app with gunicorn the entrypoint would be something like
gunicorn app:SERVER --bind 0.0.0.0:8501 --workers 4
How do I run the similar command for streamlit?
At the moment the output inside the container is
Welcome to Streamlit! If you are one of our development partners or are interested in getting personal technical support, please enter your email address below. Otherwise, you may leave the field blank. Email: Telemetry: As an open source project, we collect usage statistics. We cannot see and do not store information contained in Streamlit apps. If you'd like to opt out, add the following to ~/.streamlit/config.toml, creating that file if necessary: [browser] gatherUsageStats = false You can now view your Streamlit app in your browser. Network URL: http://172.17.0.2:8501 External URL: http://220.127.116.11:8501