mlh-hackathon-nodejs-starter icon indicating copy to clipboard operation
mlh-hackathon-nodejs-starter copied to clipboard

Add docker compose

Open antoine-amara opened this issue 5 years ago • 1 comments

create a docker-compose configuration to quickly deploy a development environment. This configuration will deploy a Nodejs container with the Nodejs process running inside and a postgres container which run Postgresql process. It exposes port 5000 to the host for the Nodejs app, it exposes the port 9042 if the developer wants to connect a chrome debugger onto it. It exposes Postgresql port too for debugging.

create a Makefile to abstract docker-compose commands, so any developers can launch and basically manage this development environment. here is the commands available in the Makefile (this is a screenshot from the make help command):

help

antoine-amara avatar Apr 12 '19 17:04 antoine-amara

@antoine-amara Thanks for the PR. Give me a couple days to review and test it. Thanks!

nlaz avatar Apr 18 '19 16:04 nlaz