mirror of
https://github.com/kmitresse/Compo-Service-Log-Project.git
synced 2026-05-13 17:11:49 +00:00
feat: Use container for the API service
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# mongod.conf
|
||||
storage:
|
||||
dbPath: /data/db
|
||||
wiredTiger:
|
||||
engineConfig:
|
||||
cacheSizeGB: 2 # Ajuster selon la mémoire disponible (ex: 2 Go)
|
||||
systemLog:
|
||||
destination: file
|
||||
logAppend: true
|
||||
path: /data/db/mongodb.log
|
||||
operationProfiling:
|
||||
mode: slowOp
|
||||
slowOpThresholdMs: 1000 # Considère une opération lente si elle dépasse 1 seconde
|
||||
net:
|
||||
bindIp: 0.0.0.0
|
||||
Reference in New Issue
Block a user