feat/match_collector: batch match import
pipeline / lint-and-format (push) Successful in 4m22s
pipeline / build-and-push-images (push) Successful in 25s

This commit is contained in:
2026-06-27 12:33:36 +02:00
parent e6ddc27d5c
commit d878af6d1a
3 changed files with 118 additions and 23 deletions
+12 -8
View File
@@ -1,21 +1,25 @@
services:
# Development MongoDB with performance optimizations
# Development MongoDB with memory optimizations
mongodb:
image: mongo:latest
image: mongo:8.3.4
container_name: buildpath-mongodb
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USER:-root}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASS:-password}
GLIBC_TUNABLES: glibc.pthread.rseq=1
volumes:
- ./data/db:/data/db
command: mongod --wiredTigerCacheSizeGB 4 --quiet
healthcheck:
test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
interval: 5s
timeout: 2s
retries: 30
# Reduced cache size to leave more RAM for the import script
# WiredTiger cache is now 2GB (was 4GB) to prevent OOM during large imports
command: mongod --wiredTigerCacheSizeGB 2 --quiet
deploy:
resources:
limits:
memory: 4G
reservations:
memory: 2G
mongo-express:
image: mongo-express