ip addr show
ipv4 address begin with 192.168.x.x
Then, replace the value of ip_addr in file app.py by your ip address
ip_addr = "192.168.1.187"
docker build -t streamlit -f ./DockerfileStreamlit .
docker-compose up
You can view my Streamlit app in your browser:
- Network URL: http://localhost:8501/
- External URL: http://42.114.103.105:8501