Less verbose logging for Mongo

This commit is contained in:
Lauri Võsandi 2022-02-20 09:50:49 +02:00 committed by Lauri Võsandi
parent c824b03757
commit 3d792bfbc9
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@ services:
- ME_CONFIG_MONGODB_ENABLE_ADMIN=true
- ME_CONFIG_MONGODB_SERVER=127.0.0.1
- ME_CONFIG_MONGODB_AUTH_DATABASE=admin
logging:
driver: none
mongo:
network_mode: host
@ -30,6 +32,8 @@ services:
volumes:
- ./mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro
command: mongod --replSet rs0 --bind_ip 127.0.0.1
logging:
driver: none
prometheus:
network_mode: host