This project demonstrates a simple multi-container application using Docker Compose.
A Python service connects to a MongoDB database inside an isolated Docker network, showing how containers interact without exposing internal communication to the outside world.
- Python
- MongoDB
- Docker
- Docker Compose
app→ Python containermongo→ MongoDB container
Docker Compose automatically creates a shared network where both services can communicate.
- The Python app connects to MongoDB using:
mongodb://mongo:27017