6 ms·
I absolutely love it (Docker + docker-compose) for creating homogenous local development environments. And if your app needs a MongoDB, Elasticsearch or anythin
by b00gizm 11y ago
I absolutely love it (Docker + docker-compose) for creating homogenous local development environments. And if your app needs a MongoDB, Elasticsearch or anything else, it's as easy as adding one line to your overall docker-compose config file to link those services to your app. No need to pollute your development machine, you can just have anything running in Docker containers and share them across your team.
I've created several repos on Github for that matter. Here's for example some boilerplate for running Node.js, Express, Nginx, Redis and Grunt/Gulp inside Docker containers:
https://github.com/b00giZm/docker-compose-nodejs-examples https://github.com/b00giZm/docker-compose-nodejs-examples
- towelguy 11y agoI love docker-compose, it is to services what npm is to packages. That said, I'm only using it in development. For production there's so many options I don't even know where to begin: http://stackoverflow.com/a/18287169/3557327 http://stackoverflow.com/a/18287169/3557327