mongodb配置文件

systemLog:
  destination: file
  path: "/data/wt.log"
  logAppend: true
storage:
  journal:
    enabled: true
  dbPath: "/data/wt"

  directoryPerDB: true
  #syncPeriodSecs: 2
  engine: wiredTiger
  wiredTiger:
    engineConfig:
      #cacheSizeGB: 100
      directoryForIndexes: true
    collectionConfig:
      blockCompressor: none
    #indexConfig:
      #prefixCompression: true
net:
  port: 20120
processManagement:
  fork: true

 

原文地址:https://www.cnblogs.com/i4oolish/p/7827218.html