Skip to content

shivansh-gohem/multi-service-docke--app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multi-service-docke--app

multi-service-docke--app

Multi-Docker-App

A multi-service application using Docker Compose, featuring a Python API and a Node.js web frontend.

Project Structure

multi-docker-app/
	docker-compose.yml
	api/
		app.py
		Dockerfile
		requirements.txt
	web/
		Dockerfile
		package.json
		src/
			index.js
	secrets/
		db_password.txt

Prerequisites

  • Docker & Docker Compose installed
  • Git

Setup

  1. Clone the repository:

    git clone https://github.com/shivansh-gohem/multi-service-docke--app.git
    cd multi-docker-app
  2. Build and start all services:

    docker-compose up --build
  3. Access the services:

Services

API

  • Python Flask app (api/app.py)
  • Dockerfile for containerization
  • Dependencies in requirements.txt

Web

  • Node.js frontend (web/src/index.js)
  • Dockerfile for containerization
  • Dependencies in package.json

Secrets

  • Store sensitive data (e.g., database passwords) in the secrets/ directory.

Stopping Services

docker-compose down

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published