An Azure service that provides a general-purpose, serverless container platform.
Hi @Pravallika KV I have done as suggested by you, however, the issue is still there. How I can do it?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have created two Azure Container apps. I have verified that the internal communications between the frontend and backend worked properly. However, the UI does not go up, even if the Azure container's console shows that Streamlit is up and rûnning. I have also added configuration to properly redirect HTTP to HTTPS. Indeed, Azure containers expect HTTPS, but my frontend and backend talk on HTTP. Here is the Dockerfile for the frontend: What I have to do it? Thanks Regards
FROM python:3.11-slim
COPY . /app/Production
ENV PYTHONPATH=/app
WORKDIR /app/Production/frontend
RUN pip install --no-cache-dir -r requirements.txt
CMD ["streamlit", "run", "frontend.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false", "--server.enableCORS=false"]
An Azure service that provides a general-purpose, serverless container platform.
Hi @Pravallika KV I have done as suggested by you, however, the issue is still there. How I can do it?
Thanks for your answer. I have changed the Dockerfile and rebuild and push the image. Also, I have attached the settings on Ingress.
However, I did not get the points 3 that you described. Point 3: I do not think that I have added any HTTP=>HTTPS redirect cpuld you tell me how Remove the in-app HTTP=>HTTPS redirect? My Streamlit does not force inside the container any HTTP to HTTPS redirect. What does mean "let the Container App handle TLS and just speak HTTP on port 8501"?. Thanks
Reagrds
Hi @Pravillika
Thanks for your answer. I have changed the Dockerfile and rebuild and push the image. Also, I have attached the settings on Ingress.
However, I did not get the points 3 that you described. Point 3: I do not think that I have added any HTTP=>HTTPS redirect cpuld you tell me how Remove the in-app HTTP=>HTTPS redirect? My Streamlit does not force inside the container any HTTP to HTTPS redirect. What does mean "let the Container App handle TLS and just speak HTTP on port 8501"?. Thanks
Reagrds