-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
53 lines (49 loc) · 1.23 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
53 lines (49 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '3.8'
services:
ai-svc:
build:
context: .
dockerfile: Dockerfile
container_name: ai-svc
env_file:
- .env.development
ports:
- "50051:50051"
# depends_on:
# milvus:
# condition: service_healthy
networks:
- backend
# milvus:
# image: milvusdb/milvus:v2.5.5
# container_name: milvus-standalone-development
# command: ["milvus", "run", "standalone"]
# ports:
# - "19530:19530"
# - "9091:9091"
# - "2379:2379"
# environment:
# ETCD_USE_EMBED: "true"
# ETCD_DATA_DIR: "/var/lib/milvus/etcd"
# ETCD_CONFIG_PATH: "/milvus/configs/embedEtcd.yaml"
# COMMON_STORAGETYPE: "local"
# volumes:
# # Volume data milvus
# - ./volumes/milvus:/var/lib/milvus
# # File konfigurasi embed etcd
# - ./embedEtcd.yaml:/milvus/configs/embedEtcd.yaml:ro
# # File user config
# - ./user.yaml:/milvus/configs/user.yaml:ro
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:9091/healthz"]
# interval: 30s
# timeout: 10s
# retries: 5
# restart: unless-stopped
# networks:
# - backend
networks:
backend:
external: true
volumes:
minio_data: