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.
https://github.com/geekcell/docker-compose-nodejs-examples/tree/main/00-basic-express-generator
https://github.com/geekcell/docker-compose-nodejs-examples/tree/main/01-express-nodemon
https://github.com/geekcell/docker-compose-nodejs-examples/tree/main/02-express-redis-nodemon
Geek Cell
- Twitter: @thegeekcell
- Web: https://geekcell.io
Pascal Cremer
- Email: hello@codenugget.co
- Twitter: @b00gizm
- Web: http://codenugget.co