Closed bsaurusrex closed 2 months ago
Currently no, the host always defaults to localhost:8501 -- I'm not too familiar with nginx but you'll probably need to set up some kind of reverse proxy
Have you tried this? https://discuss.streamlit.io/t/deploy-streamlit-with-nginx-docker/52907/2
I found the change required. In entrypoint.py, this needs to be my FQDN on my proxy.
"--browser.serverAddress=localhost",
Is there a way I can pass browser.serverAddress=test.example.com into the docker environment variable?
Let me know if this works for you:
docker run -e BROWSER_SERVER_ADDRESS=test.example.com benjaminawd/statementsensei:0.7.3-rc.1
via PR: https://github.com/benjamin-awd/StatementSensei/pull/18/files
Working! Thank you.
Is there an env to pass in an allowed proxy or hostname? I am trying to put this behind nginx but the content doesnt load.