Skip to content

WakeTheNodeNeo/docker-compose-python-mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

intro

Introduction

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.


Stack

  • Python
  • MongoDB
  • Docker
  • Docker Compose

Architecture

  • app → Python container
  • mongo → MongoDB container

Docker Compose automatically creates a shared network where both services can communicate.

How It Works

  • The Python app connects to MongoDB using:
mongodb://mongo:27017

About

Python + MongoDB via Docker Compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors