Skip to content

Instantly share code, notes, and snippets.

@fiko
Created October 11, 2018 10:10
Show Gist options
  • Save fiko/8408e5fddcd02363fb587896bd0fa314 to your computer and use it in GitHub Desktop.
Save fiko/8408e5fddcd02363fb587896bd0fa314 to your computer and use it in GitHub Desktop.
MongoDB conf configuration
# /etc/mongod.conf
processManagement:
fork: true
net:
bindIp: 127.0.0.1
port: 27017
storage:
dbPath: /home/fiko/applications/mongodb/db
systemLog:
destination: file
path: "/home/fiko/applications/mongodb/mongod.log"
logAppend: true
storage:
journal:
enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment