Skip to content

Finally some real world examples on getting started with Docker Compose and Nodejs.

License

Notifications You must be signed in to change notification settings

geekcell/docker-compose-nodejs-examples

Repository files navigation

Getting started with Docker Compose and Nodejs

Motivation

Docker Compose is an awesome tool for creating isolated development environments with Docker by using simple configurations with YAML. It's clean and easy enough to wrap your head around, even if you are new to Docker.

If you're like us, you're using a development server like nodemon that watches all your file changes and reloads your app. Bringing this workflow over to Docker Compose is a bit tricky. We hope the following real world examples will save you from headaches while trying to figure out how to (pragmatically) use Docker Compose for your Nodejs apps.

Examples

Basic skeleton with Express app generator

https://github.com/geekcell/docker-compose-nodejs-examples/tree/main/00-basic-express-generator

Express app with nodemon development server

https://github.com/geekcell/docker-compose-nodejs-examples/tree/main/01-express-nodemon

Express app with Redis and nodemon development server

https://github.com/geekcell/docker-compose-nodejs-examples/tree/main/02-express-redis-nodemon

Maintainers

Geek Cell

Previous Maintainer

Pascal Cremer

License

MIT

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •