mlh-hackathon-nodejs-starter
mlh-hackathon-nodejs-starter copied to clipboard
Add docker compose
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):
@antoine-amara Thanks for the PR. Give me a couple days to review and test it. Thanks!