You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mongo-rust-driver/.semaphore/docker-compose.yml

25 lines
569 B
YAML

version: '3.7'
services:
mongodb:
image: mongo:3.6
environment:
- MONGO_DATA_DIR=/data/db
ports:
- "27017:27017"
command: mongod --smallfiles
rust:
image: rust:latest
container_name: "rust"
depends_on:
- mongodb
environment:
CARGO_HOME: "/tmp/_cargo"
RUST_TEST_THREADS: "1"
RUST_BACKTRACE: "full"
LIBCLANG_PATH: "/usr/lib/llvm-7/lib"
SKIP_SSL_CONNECTION_TESTS: "true"
MONGODB_CONNECTION_STRING: "mongodb://mongodb:27017"
working_dir: /project
command: tail -f /dev/null