Skip to content

ericssonITTEcicontrib/mongoreplicationutility-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mongo-repl-util

It can be used to build image of mongo-repl-util. By running the container, it initializes replica set on the targeting mongo server.

  • build
$ docker build -t mongo-repl-util .
  • run (mongo needs to be started before this)
$ docker run --link some-mongo:mongodb -d mongo-repl-util

or

$ docker run -e MONGO_HOST="142.133.111.170" -e MONGO_PORT="27017" -d mongo-repl-util

where

  • MONGO_HOST is the hostname or IP address of mongo server, and
  • MONGO_PORT is the port of mongo server.

About

MongoDB Replication Utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages