Public Repository

Last pushed: 2 years ago
Short Description
MongoDB Replicasets
Full Description

MongoDB

Ver 3.0.2

Instances & Port

  • Arbiter -> 27999
  • Node1 -> 27017
  • Node2 -> 27018

hostname

mongo-repl

run

docker run -d --name mongo-repl -h mongo-repl masumiya/mongo-repl:3.0 /root/start_replset.sh

configure


data dir

Arbiter

/var/lib/mongo/arbiter/

Node1

/var/lib/mongo/node1/

Node2

/var/lib/mongo/node2/

log dir

Arbiter

/var/log/mongodb/arbiter.log

Node1

/var/log/mongodb/node1.log

Node2

/var/log/mongodb/node2.log
Docker Pull Command
Owner
masumiya