Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 883 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 883 Bytes

mongo-cluster-configsrv

Mongo cluster config service node.

This is meant to be used along with http://github.com/stutzlab/mongo-cluster-router and http://github.com/stutzlab/mongo-cluster-shard.

Check http://github.com/stutzlab/mongo-cluster-shard for more details and examples.

ENVs

  • CONFIG_REPLICA_SET - name of the replica set to be used in configsrv replication. defaults to 'configsrv'
  • CONFIG_SERVER_NODES - command separated list of config servers. ex.: configsrv1,configsrv2,configsrv3. required
  • SHARED_KEY_SECRET - secret name with shared key. defaults to '', which will run with no keyfile
  • WIRED_TIGER_CACHE_SIZE_GB - defines the max cache size for wired tiger storage in GB. defaults to 1/2 of available mem limits for this container (defined in limits of cgroup)

Volumes

  • Mount volumes at "/data".