milvus/tests/docker/docker-compose.yml

23 lines
486 B
YAML
Raw Normal View History

version: '3.5'
services:
pytest:
image: ${IMAGE_REPO}/pytest:${IMAGE_TAG}
build:
context: ../..
dockerfile: tests/docker/Dockerfile
cache_from:
- ${IMAGE_REPO}/pytest:latest
shm_size: 2G
environment:
SERVICE_IP: ${SERVICE_IP}
SERVICE_PORT: ${SERVICE_PORT}
volumes:
- ../../:/milvus:delegated
working_dir: "/milvus"
networks:
default:
external: ${PRE_EXIST_NETWORK:-false}
name: ${PYTEST_NETWORK:-pytest}