8000 GitHub - kerrickchan/docker-compose-mongo: Docker Compose MongoDB Code Snippets
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kerrickchan/docker-compose-mongo

8000

Repository files navigation

Docker Compose MongoDB Replica Set

This is a simple example of how to run a MongoDB replica set using Docker Compose.

Usage

Setup

  • Make bash available
make setup

Options

  1. Make a mongo single instance
make mongo
  1. Make a mongo replicated set
make rs
make rs-init

Note: the bash script need all container instance running. simplify make rs twice to make it works and manually run script provided

About

Docker Compose MongoDB Code Snippets

Topics

Resources

Stars

Watchers

Forks

0