Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

mongodb docker-compose replica set

# SETUP MONGODB WITHOUT AUTH
https://gist.github.com/asoorm/7822cc742831639c93affd734e97ce4f

# SETUP MONGODB WITH AUTH AND X509 CERT VALIDATION (FOR PROD)
https://prashix.medium.com/setup-mongodb-replicaset-with-authentication-enabled-using-docker-compose-5edd2ad46a90
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mongodb #replica #set
ADD COMMENT
Topic
Name
5+3 =