name: fanyu-query-local services: mongo: image: mongo@sha256:5d7043a4ffe02b9ed1b6e0bab057546981af5ca0a79107e9c461e49bc44c0a7b command: ["mongod", "--replSet", "query-rs", "--bind_ip_all", "--wiredTigerCacheSizeGB", "0.5"] ports: ["127.0.0.1:27019:27017"] mem_limit: 4g cpus: 2 ulimits: nofile: soft: 65536 hard: 65536 volumes: ["mongo-query:/data/db"] valkey: image: valkey/valkey@sha256:e51a82741b780e4bf315db10753edf07eea6496d405fa7df2a8677a18f5e7464 command: ["valkey-server", "--maxmemory", "128mb", "--maxmemory-policy", "allkeys-lru", "--save", "", "--appendonly", "no"] ports: ["127.0.0.1:16379:6379"] mem_limit: 256m cpus: 1 typesense: image: typesense/typesense@sha256:610f2d34b1f93d00762869da2c67736775e5798d19a2c8b91b014b8a0cc1e110 environment: TYPESENSE_API_KEY: "${QUERY_TEST_TYPESENSE_API_KEY:?synthetic local key required}" TYPESENSE_DATA_DIR: /data ports: ["127.0.0.1:18108:8108"] mem_limit: 1g cpus: 2 volumes: ["typesense-query:/data"] volumes: mongo-query: typesense-query: