Skip to content

Server Administration βš™οΈ

Lyes S edited this page Jun 18, 2022 · 6 revisions

Table Of Contents

Default MongoDB config file

lyes-s ( β—₯β—£_β—’β—€ ) ~/Documents/learning-mongo $ docker exec -it mongodb sh

> cat /etc/mongod.conf.orig

# mongod.conf

# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/

# Where and how to store data.
storage:
  dbPath: /var/lib/mongodb
  journal:
    enabled: true
#  engine:
#  wiredTiger:

# where to write logging data.
systemLog:
  destination: file
  logAppend: true
  path: /var/log/mongodb/mongod.log

# network interfaces
net:
  port: 27017
  bindIp: 127.0.0.1


# how the process runs
processManagement:
  timeZoneInfo: /usr/share/zoneinfo

#security:

#operationProfiling:

#replication:

#sharding:

## Enterprise-Only Options:

#auditLog:

#snmp:
Clone this wiki locally