Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Dockerfile - tattsun/mongodb-replset

This dockerfile contains mongodb replication set.

Architecture

Primary - Secondary - Arbiter

Data Persistency

/data/node1 -> Primary Database
/data/node2 -> Secondary Database
/data/node3 -> Arbiter Database

Example

$ docker run -p 27017:27017 -p 27018:27018 -p 27019:27019 -d \
    -v /host/primary:/data/node1 -v /host/secondary:/data/node2 \
    --name mongoreplset tattsun/mongodb-replset
Docker Pull Command
Owner
tattsun
Source Repository

Comments (0)