Configuration parameters
The keys of the YAML configuration file and the command-line option each one matches.
--config <file.yaml> reads the YAML subset of mongod files. Command-line options win over the file. An unknown key is a usage error that names the file.
| YAML key | Option |
|---|---|
storage.dbPath | --dbpath |
net.bindIp, net.port | --bind_ip, --port |
systemLog.path, systemLog.logAppend, systemLog.quiet | --logpath, --logappend, --quiet |
systemLog.verbosity | --verbose |
teseladb.cores | --cores |
teseladb.peerListen, teseladb.adminListen | --peer-listen, --admin-listen |
teseladb.join | --join |
teseladb.insecure, teseladb.insecureAllowRemote | --insecure, --insecure-allow-remote |
teseladb.logFormat | --log-format |
teseladb.enrollToken | --enroll-token |
net.tls.mode | --tlsMode |
net.tls.certificateKeyFile, net.tls.CAFile | --tlsCertificateKeyFile, --tlsCAFile |
net.tls.CRLFile | --tlsCRLFile |
security.enableEncryption, security.encryptionKeyFile, security.encryptionCipherMode | --enableEncryption, --encryptionKeyFile, --encryptionCipherMode |
security.kmip.* | --kmip… |
auditLog.destination, auditLog.path, auditLog.format, auditLog.filter, auditLog.schema | --audit… |
security.javascriptEnabled | --noscripting |
teseladb.cpuList, teseladb.ioExecutor, teseladb.directIO, teseladb.memoryLimit | --cpu-list, --io-executor, --direct-io, --memory-limit |
replication.replSetName | --replSet |
net.maxIncomingConnections | --maxConns |
net.compression.compressors | --networkMessageCompressors |
operationProfiling.* | --profile, --slowms, --slowOpSampleRate |
setParameter.* | --setParameter |
teseladb.http.port, teseladb.http.bind | --http-port, --http-bind |
An option with a mongod equivalent keeps its name and key; one of TeselaDB's own is in kebab-case and under teseladb.*.
See also
- teseladb start, with the description of each option.
- Cluster parameters.