Blame SOURCES/mongod.conf

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