-
Notifications
You must be signed in to change notification settings - Fork 48
mongodb.conf
Calin Crisan edited this page Nov 24, 2020
·
5 revisions
The file lives at /data/etc/mongodb.conf
. It can be provisioned using /boot/mongodb.conf
and uses /etc/mongodb.conf
as a default. The file is not present by default and should be created by the user, if mongodb is needed.
If the file is present, the mongod daemon will be started to run the Mongo DB server on your system.
Note that mongodb
package is not enabled by default in thingOS. You'll need to enable it in your configurations to have this functionality.
The configuration file uses the YAML format.
systemLog:
destination: file
logAppend: true
path: /var/log/mongodb.log
storage:
dbPath: /var/lib/mongodb
journal:
enabled: true
processManagement:
pidFilePath: /var/run/mongodb.pid
timeZoneInfo: /usr/share/zoneinfo
net:
port: 27017
bindIp: 127.0.0.1
- bluetooth.conf
- captive-portal.conf
- cpufreq.conf
- date.conf
- dnsmasq.conf
- docker-compose.yml
- dtoverlays
- dyndns-update.sh
- environment
- firewall.sh
- fstab.user
- hostapd.conf
- ifalias.conf
- localtime
- modprobe.conf
- modules
- mongodb.conf
- netwatch.conf
- ntp.conf
- os.conf
- proftpd.conf
- redis.conf
- smb.conf
- ssh/config
- ssh/sshd_config
- ssl/domain
- ssl/email
- static_ip.conf
- sysctl.conf
- toemmc.conf
- version
- watchdog.conf
- wpa_supplicant.conf