/docker-node-mongo

Sample node and mongo app that uses docker

Primary LanguageJavaScript

Docker Node MongoDB Example

Simple example of a dockerized Node/Mongo app

Quick Start

# Run in Docker
docker-compose up
# use -d flag to run in background

# Tear down
docker-compose down

# To be able to edit files, add volume to compose file
volumes: ['./:/usr/src/app']

# To re-build
docker-compose build