GithubHelp home page GithubHelp logo

classicvalues / mongodb-replicaset-vagrant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from circleci/mongodb-replicaset-vagrant

0.0 1.0 0.0 13 KB

License: MIT License

Shell 88.89% Dockerfile 11.11%

mongodb-replicaset-vagrant's Introduction

mongodb-replicaset-vagrant

Vagrant configuration to run a mongodb replica set on any OS.

This setup boots up a 4 gig ubuntu xenial (16.04) machine running with mongodb (3.4) in a PSS (Primary, Secondary, Secondary) replica set configuration.

A user with root role is created by default. Username and Password are available in setup.sh. Please change the username and password as per your needs.

All nodes of the replica set run on ports as mentioned below. All ports are forwarded to the local machine. You should be able to connect to the replica set with any mongodb management tool like Robo3T.

Primary Node - 27017

Secondary Node 1 - 27018

Secondary Node 2- 27019

Know More About Configuring mongodb-replicaset.

Prerequisite

  1. Vagrant setup needs to be configured on the local machine. Know more about how to setup vagrant.

Usage

  1. Clone the repository on your local machine
  2. Run vagrant up to start the vagrant machine.

SSH

# Get key file
vagrant ssh-config | grep IdentityFile
ssh vagrant@localhost -p 2222 -i <identityfile-localtion>

mongodb-replicaset-vagrant's People

Contributors

tarunguptapec avatar kimh avatar tarun-docon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.