[Lab - Configuration File] Path for Config File

I checked the other topics referencing the config file but I couldn’t find a topic where anyone explicitly mentions the path they stored their config file at.

Where specifically do I place my config file so that I can launch mongod from vagrant using it?


Hey @Nick_74740

You can place the file in your /shared directory and then when you run the command to launch mongod you will just reference the path.

mongod --dbpath /path/to/config/file

See the docs for more info


That did the trick. Thanks so much!

1 Like

Good question Nick!

@natac13 to the rescue again!

1 Like