Skip to content

Official MongoDB Docker Image with Replica Set initialization on the first run

Notifications You must be signed in to change notification settings

nesvet/mongo-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB with replica set

Official MongoDB Image with replica set initialization on the first run (and with healthcheck)

Usage

Env vars to set default

  • MONGO_RS rs0
  • MONGO_AUTHDB admin
  • MONGO_USER root
  • MONGO_PASSWORD iddqd

Connection string is about to look like mongodb://${MONGO_USER}:${MONGO_PASSWORD}@${MONGO_HOST}:${MONGO_PORT}/?directConnection=true


github.com/nesvet/mongo-rs

About

Official MongoDB Docker Image with Replica Set initialization on the first run

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published