Category : streamlit

I have deployed a Streamlit app on Heroku on a Docker container. The deployment works fine however when opening the app it works intermittently with the following error. 2021-11-30T14:46:13.224083+00:00 heroku[router]: at=error code=H31 desc="Misdirected Request" method=GET path="/favicon.ico" host=music-app-anna.herokuapp.com request_id=78aadc06-973d-4849-83d0-63f802714458 fwd="80.169.116.242" dyno= connect= service= status=421 bytes= protocol=https agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like ..

Read more

i want to use docker to containerize nginx, fastapi and 2 streamlit apps. All 3 apps (fastapi, 2streamlit apps) do not interact with each other. Nginx should work as reverse-proxy for the 3 apps. For fastapi it is working. I can send rest-api requests to http://ip:80/twxservices . "twxservices" as endpoint is added in the app.py ..

Read more

Here’s the reproducible example Dockerfile Dockerfile FROM python:3.8 WORKDIR /app RUN pip install streamlit COPY . /app ENTRYPOINT ["streamlit", "run", "app.py"] Docker Commands used docker build -t streamlit-app:latest . docker run -ti streamlit-app:latest Weirdly enough, it works using the network port provided by Streamlit (in Docker installed in my system with Ubuntu), but I have ..

Read more

I have a Web App running in Azure inside a docker container. However, I am unable to access the application. Here is the log from "Deployment Center": docker run -d -p 8349:80 –name app-my-web-app_0_bca7f103 -e PORT=80 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITES_PORT=80 -e WEBSITE_SITE_NAME=app-my-web-app -e WEBSITE_AUTH_ENABLED=False -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=app-my-web-app.azurewebsites.net -e WEBSITE_INSTANCE_ID=0a7710206f1bf4cc0f990b30fe5398a5e19747081c3fc5a2f68d99d5f89c7df1 mywebapp.azurecr.io/mywebapp:latest 2021-09-23T13:19:11.654Z INFO – Logging ..

Read more

I have been struggling for some days now to deploy an Azure App Service with two minimalist Docker containers. My first image is a basic postgres image and my second image is build with the following Dockerfile: FROM python:3.7 RUN pip install streamlit COPY app.py /streamlit-docker/ WORKDIR /streamlit-docker/ CMD streamlit run app.py and where app.py ..

Read more

I’m very new to server config so please excuse me if I don’t explain something properly. My current stack is Ubuntu 18.04 with Certbot, Nginx, and a Streamlit application all in separate Docker containers. Certbot is handling Letsencrypt ssl certificates for port 443, Nginx is using a reverse proxy on port 80 to my Streamlit ..

Read more