Skip to content

Danoweb/mongodb-docker-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

mongodb-docker-template

A docker-compose template repository for setting up a mongoDB instance with docker-networking.

Use

  • Make sure you have docker-compose installed
  • Clone the repo into a new folder
  • Within the repo folder run the command: docker-compose up --build

Volumes

The 2 volumes created will use local folder locations within the repo/project directory to store the data writtent to the mongoDB instance.

Networking

The container is setup to join a docker network called datanet. Any other containers which join this docker network can refer to this container (and access the mysql instance running within it) by using the hostname: data-mongodb and port 3306

About

A docker-compose template repository for setting up a mongoDB instance with docker-networking.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published