Usage: mongodb-runner [options] Start/stop/install MongoDB for testing. Options: --topology= One of standalone, replicaset, or cluster [Default: `standalone`]. --pidpath= Where to put pid files [Default: `~/mongodb/pids`]. --bin= Path to mongod|mongos binary [Default: `which mongod|mongos`]. Options depending on `--topology`: --topology=standalone --name= The replSet name [Default: `my-standalone`]. --port= Port to start mongod on [Default: `27017`]. --dbpath= Where to put the data [Default: `~/.mongodb/data/#{name}`] --logpath= [Default: `~/.mongodb/#{name}.log`] --topology=replicaset --name= The replSet name [Default: `my-replicaset`]. --port= The starting port to use for mongod instances [Default: `27017`]. --dbpath= [Default: `~/.mongodb/data/#{name}-#{instance_id}`] --logpath= [Default: `~/.mongodb/#{name}.log/#{instance_id}.log`] --arbiters= How many arbiters to start [Default: `0`]. --passives= How many passive instances to start [Default: `1`]. --secondaries= How many secondary instances to start [Default: `2`]. Maps to `secondaries` option. --topology=cluster --shards= Number of shards in the cluster [Default: `2`]. --routers= Number of router instances [Default: `2`]. --configs= Number of config servers [Default: `1`]. --port= Port number to start incrementing from when starting routers [Default `27017`]. --shardPort= Port number to start incrementing from when starting shard members [Default `31000`]. --configPort= Port number to start incrementing from when starting shard members [Default `35000`]. Environment Variables: MONGODB_VERSION What version of MongoDB should be installed and available [Default: `stable`] MONGODB_TOPOLOGY See `--topology` MONGODB_PORT See `--port` MONGODB_TOPOLOGY See `topology` MONGODB_ARBITERS See `arbiters` MONGODB_SECONDARIES See `secondaries` MONGODB_PASSIVES See `passives` MONGODB_SHARDS See `--shards` MONGODB_ROUTERS See `--routers` MONGODB_CONFIGS See `--configs` MONGODB_SHARDS_PORT See `--shardPort` MONGODB_CONFIGS_PORT See `--configPort` MONGODB_ARBITERS See `--arbiters` MONGODB_SECONDARIES See `--secondaries` MONGODB_PASSIVES See `--passives`