docker/mod/mongo/mongod.conf
chandi 61676a042d enable mongodb oplog
necessary for query.observerChanges to work probably with changes to mongodb via a different client.
Otherwise some events are missing due to a fallback via polling, which leads to lost state updates in the meantime.

took me now 3 days to debug....  :'D
2021-02-24 21:45:25 +01:00

29 lines
483 B
Plaintext

# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
storage:
dbPath: /data/db
journal:
enabled: true
wiredTiger:
engineConfig:
cacheSizeGB: 0
journalCompressor: none
directoryForIndexes: true
collectionConfig:
blockCompressor: none
indexConfig:
prefixCompression: false
net:
port: 27017
bindIp: 0.0.0.0
replication:
replSetName: rs0