• Stars
    star
    1,002
  • Rank 45,804 (Top 1.0 %)
  • Language
    Dockerfile
  • License
    MIT License
  • Created about 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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