Blame SOURCES/mongod.conf

c7586b
##
c7586b
## For list of options visit:
c7586b
## https://docs.mongodb.org/manual/reference/configuration-options/
c7586b
##
c7586b
c7586b
# systemLog Options - How to do logging
c7586b
systemLog:
c7586b
  # The default log message verbosity level for components (0-5)
c7586b
  verbosity: 0
c7586b
c7586b
  # The destination to which MongoDB sends all log output (file|syslog, if not specifed to STDOUT)
c7586b
  destination: file
c7586b
c7586b
  # Log file to send write to instead of stdout - has to be a file, not directory
c7586b
  path: /var/log/mongodb/mongod.log
c7586b
c7586b
  # Append to logpath instead of over-writing (false by default)
c7586b
  logAppend: true
c7586b
c7586b
  # Set the log rotation behavior (rename|reopen, rename by default)
c7586b
  logRotate: reopen
c7586b
c7586b
c7586b
# processManagement Options - How the process runs
c7586b
processManagement:
c7586b
  # Fork server process (false by default)
c7586b
  fork: true
c7586b
c7586b
  # Full path to pidfile (if not set, no pidfile is created)
c7586b
  pidFilePath: /var/run/mongodb/mongod.pid
c7586b
c7586b
c7586b
# net Options - Network interfaces settings
c7586b
net:
c7586b
  # Specify port number (27017 by default)
c7586b
  port: 27017
c7586b
c7586b
  # Comma separated list of ip addresses to listen on (all local ips by default)
c7586b
  bindIp: 127.0.0.1,::1
c7586b
c7586b
  # Enable IPv6 support (disabled by default)
c7586b
  ipv6: true
c7586b
c7586b
  unixDomainSocket:
c7586b
    # Enable/disable listening on the UNIX domain socket (true by default)
c7586b
    enabled: true
c7586b
c7586b
    # Alternative directory for UNIX domain sockets (defaults to /tmp)
c7586b
    pathPrefix: /var/run/mongodb
c7586b
c7586b
  #ssl:
c7586b
    # Set the SSL operation mode (disabled|allowSSL|preferSSL|requireSSL)
c7586b
    #mode: <string>
c7586b
c7586b
    # PEM file for ssl
c7586b
    #PEMKeyFile: <string>
c7586b
c7586b
    # Certificate Authority file for SSL
c7586b
    #CAFile: <string>
c7586b
c7586b
c7586b
# storage Options - How and Where to store data
c7586b
storage:
c7586b
  # Directory for datafiles (defaults to /data/db/)
c7586b
  dbPath: /var/lib/mongodb
c7586b
c7586b
  #journal:
c7586b
    # Enable/Disable journaling (journaling is on by default for 64 bit)
c7586b
    #enabled: true
c7586b
c7586b
  # The storage engine for the mongod database (mmapv1|wiredTiger, wiredTiger by default
c7586b
  # - works for 64 bit only)
c7586b
  # Also possible to use unstable engines: devnull|ephemeralForTest
c7586b
  engine: mmapv1
c7586b
c7586b
  #mmapv1:
c7586b
    # Enable or disable the preallocation of data files (true by default)
c7586b
    #preallocDataFiles: <boolean>
c7586b
c7586b
    # Use a smaller default file size (false by default)
c7586b
    #smallFiles: <boolean>
c7586b
c7586b
  #wiredTiger:
c7586b
    #engineConfig:
c7586b
      # The maximum size of the cache that WiredTiger will use for all data
c7586b
      # (max(60% of RAM - 1GB, 1GB) by default)
c7586b
      #cacheSizeGB: 5
c7586b
c7586b
      # The type of compression to use to compress WiredTiger journal data
c7586b
      # (none|snappy|zlib, snappy by default)
c7586b
      #journalCompressor: <string>
c7586b
c7586b
    #collectionConfig:
c7586b
      # The default type of compression to use to compress collection data
c7586b
      # (none|snappy|zlib, snappy by default)
c7586b
      #blockCompressor: <string>
c7586b
c7586b
c7586b
# secutiry Options - Authorization and other security settings
c7586b
#security:
c7586b
  # Private key for cluster authentication
c7586b
  #keyFile: <string>
c7586b
c7586b
  # Run with/without security (enabled|disabled, disabled by default)
c7586b
  #authorization
c7586b
c7586b
c7586b
# setParameter Options - Set MongoDB server parameters
c7586b
# setParameter:
c7586b
c7586b
# opratrionProfiling Options - Profiling settings
c7586b
#operationProfiling:
c7586b
c7586b
# replication Options - ReplSet settings
c7586b
#replication:
c7586b
c7586b
# sharding Options - Shard settings
c7586b
#sharding:
c7586b