title: Standalone replica sets mongodb
body: <p>I need to create a standalone replica set in mongo. I followed the steps here: <a href="http://docs.mongodb.org/manual/tutorial/convert-standalone-to-replica-set/" rel="nofollow">http://docs.mongodb.org/manual/tutorial/convert-standalone-to-replica-set/</a></p>
  
  <p>Everything worked as expected, but I was wondering how I could configure this in the mongodb.conf file so I didn't have to manually do these steps every time. Is something like this possible via the conf file? I know there is a <code>replSet</code> param that you can have in the conf file, but I wasn't sure how to specify which ports to use for the different replica sets. Thanks!</p>