https://github.com/arijit2002/microservices_docker_deployment
NodeJS & Python Microservice
https://github.com/arijit2002/microservices_docker_deployment
Last synced: 3 months ago
JSON representation
NodeJS & Python Microservice
- Host: GitHub
- URL: https://github.com/arijit2002/microservices_docker_deployment
- Owner: arijit2002
- License: mit
- Created: 2025-09-06T05:21:52.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-09-06T06:03:32.000Z (4 months ago)
- Last Synced: 2025-09-06T07:19:20.390Z (4 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Microservices_Docker_Deployment
NodeJS & Python Microservice
Run Service:
```docker-compose up --build```
Basic Docker commands:
Start all services (build images if needed)
```docker-compose up```
## Start all services and rebuild images
```docker-compose up --build```
## Run services in the background (detached mode)
```docker-compose up -d```
## Stop and remove containers, networks, images, and volumes
```docker-compose down```
## View logs from all services
```docker-compose logs```
## List running containers managed by docker-compose
```docker-compose ps```
## Stop services without removing containers
```docker-compose stop```
## Restart services
```docker-compose restart```
```
Microservices_Docker_Deployment/
│── .github/
│ └── workflows/ # GitHub Actions workflows
│ ├── nodejs.yml # CI/CD for Node.js Auth Service
│ └── python.yml # CI/CD for Python Product Service
│
├── auth-service/ # Node.js Auth Service
│ ├── index.js # Express server (signup, login)
│ ├── package.json # Node.js dependencies
│ └── Dockerfile # Dockerfile for Node.js service
│
├── product-service/ # Python Flask Product Service
│ ├── app.py # Flask CRUD APIs (JWT protected)
│ ├── requirements.txt # Python dependencies
│ └── Dockerfile # Dockerfile for Flask service
│
├── docker-compose.yml # Run all services together
└── README.md # Project documentation
```