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.
22 lines
464 B
YAML
22 lines
464 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
mongodb:
|
|
image: mongo:latest
|
|
environment:
|
|
- MONGO_DATA_DIR=/data/db
|
|
ports:
|
|
- "27017:27017"
|
|
rust:
|
|
image: rust:latest
|
|
container_name: "rust"
|
|
depends_on:
|
|
- mongodb
|
|
environment:
|
|
RUST_TEST_THREADS: "1"
|
|
RUST_BACKTRACE: "full"
|
|
SKIP_SSL_CONNECTION_TESTS: "true"
|
|
MONGODB_CONNECTION_STRING: "mongodb://mongodb:27017"
|
|
working_dir: /project
|
|
command: tail -f /dev/null
|