Skip to content

Instantly share code, notes, and snippets.

@curtislacy
Last active December 17, 2015 13:49
Show Gist options
  • Save curtislacy/5619577 to your computer and use it in GitHub Desktop.
Save curtislacy/5619577 to your computer and use it in GitHub Desktop.
Mongos config
#mongos config file
#config servers
configdb=ip-10-253-56-49.us-west-2.compute.internal:27017,ip-10-250-61-137.us-west-2.compute.internal:27017,ip-10-245-97-8.us-west-2.compute.internal:27017
#where to log
logpath=/var/log/mongodb/mongos.log
#log overwritten or appended to
logappend=true
#fork and run in background
fork=true
#override port
port=27017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment