Skip to content

A simple Docker Project to display how containers work; contains Node.js server and backed up by mongoDB

Notifications You must be signed in to change notification settings

darkfalcon321/Docker-Basic

Repository files navigation

Docker-Basic

A simple Docker Project which contains Node.js server and backed up by mongoDB

REQUIREMENTS

  • npm
  • Docker Desktop

Install Dependencies

npm init -y
npm install express
npm install nodemon --save-dev

Container Config(Development Environment)

#Bring up Server
docker-compose -f docker-compose.yml -f docker-compose.dev.yml -d up --build
#Bring down Server
docker-compose -f docker-compose.yml -f docker-compose.dev.yml down 

This Repository is oriented towards Docker being used in Development Environment. Although there is a file for production env docker-compose.prod.yml, the file won't be used for now. This repository is actively maintained, and you can expect regular updates. Changes may include the addition of new files, enhancements to existing features, bug fixes, and more.

About

A simple Docker Project to display how containers work; contains Node.js server and backed up by mongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published