mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-12 13:15:09 +08:00
c468ff30cf
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
23 lines
490 B
YAML
23 lines
490 B
YAML
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:-milvus_dev}
|