mongod.conf 653 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # mongod.conf
  2. # salt managed
  3. # for documentation of all options, see:
  4. # http://docs.mongodb.org/manual/reference/configuration-options/
  5. # Where and how to store data.
  6. storage:
  7. dbPath: /var/lib/mongodb
  8. journal:
  9. enabled: true
  10. # engine:
  11. # wiredTiger:
  12. # where to write logging data.
  13. systemLog:
  14. destination: file
  15. logAppend: true
  16. path: /var/log/mongodb/mongod.log
  17. # network interfaces
  18. net:
  19. port: 27017
  20. bindIp: 127.0.0.1
  21. # how the process runs
  22. processManagement:
  23. timeZoneInfo: /usr/share/zoneinfo
  24. security:
  25. authorization: enabled
  26. #operationProfiling:
  27. #replication:
  28. #sharding:
  29. ## Enterprise-Only Options:
  30. #auditLog:
  31. #snmp: