MeteorN icon indicating copy to clipboard operation
MeteorN copied to clipboard

How to Scale Mongo Replica Set in a Convenient Way

Open lo-tp opened this issue 8 years ago • 0 comments

Currently, scaling up the mongo replica set in this project is a messy job. One has to make many modifications to the docker compose file as well as the replica set initialization file. However the ideal way to do so should be like this: Simply run docker-compose scale primary=1 secondary=3 arbiter=1 to set how many secondaries we want. Any insight on how to accomplish this would be greatly appreciated.

lo-tp avatar Sep 08 '16 05:09 lo-tp