Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Just a dockerized node app using mongodb as a linked container

License

Notifications You must be signed in to change notification settings

wilsontayar/node-mongo-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-mongo-sample

Just a dockerized node app using mongodb as another linked container

usage

first build your container

docker build -t you/node-mongo-sample .

then, download mongodb and use the name "mongo" in it to make things (even more) easier

docker run mongo --name mongo

call this app's container linking the "mongo" container's ip to the name "mongo" on your app's network mapping

docker run -d -p 3000:<your_open_port> --name node-mongo-sample --link mongo:mongo you/node-mongo-sample

About

Just a dockerized node app using mongodb as a linked container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published