Skip to content

Instantly share code, notes, and snippets.

View tarshixiang's full-sized avatar

tarshixiang

View GitHub Profile
@tarshixiang
tarshixiang / a-mongodb-replica-set-docker-compose-readme.md
Created July 8, 2022 09:23 — forked from harveyconnor/a-mongodb-replica-set-docker-compose-readme.md
MongoDB Replica Set / docker-compose / mongoose transaction with persistent volume

This will guide you through setting up a replica set in a docker environment using.

  • Docker Compose
  • MongoDB Replica Sets
  • Mongoose
  • Mongoose Transactions

Thanks to https://gist.github.com/asoorm for helping with their docker-compose file!