Sign inSign up

sydrawat/docker-node-mongo

By sydrawat

•Updated about 7 years ago

Playing with docker-compose up/down using a simple app that uses mongo.

Image
0

147

sydrawat/docker-node-mongo repository overview

⁠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

Check the GIST⁠ for any basic command you need to play around with docker.

Check out the github repository @sydrawat⁠ to look at the files that I have modified.

Made following the tutorial from Brad Traversey!⁠

Tag summary

Content type

Image

Digest

Size

338.5 MB

Last updated

about 7 years ago

docker pull sydrawat/docker-node-mongo