I want to create two containers, one for Streamlit (frontend) and the other one for FastAPI (backend). I’m using docker-compose to launch both containers simultaneously. The containers work independently of each other; however, when I try to send a POST request from the frontend (/frontend/streamlit_app.py) to the backend, there is a connection issue. Here is the project repository: https://github.com/ahmedaao/design-autonomous-car/tree/master
Maybe you can help.
Thanks