-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
49 lines (43 loc) · 1.07 KB
/
docker-compose.yml
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
version: "3.8"
services:
api:
image: "$DOCKER_REGISTRY/mlmodelscope-api:$API_VERSION"
environment:
- C3SR_REGISTRY_ENDPOINTS=registry:8500
- C3SR_REGISTRY_PROVIDER=consul
- C3SR_TRACER_ENABLED=true
- C3SR_TRACER_PROVIDER=jaeger
- C3SR_TRACER_ENDPOINTS=trace:9411
- C3SR_TRACER_LEVEL=FULL_TRACE
- MQ_HOST=$MQ_HOST
- MQ_PORT=$MQ_PORT
- MQ_USER=$MQ_USER
- MQ_PASSWORD=$MQ_PASSWORD
ports:
- "8080:8080"
depends_on:
- mq
trace:
image: jaegertracing/all-in-one:1.21.0
environment:
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "14268:14268"
- "9411:9411"
uploader:
image: "$DOCKER_REGISTRY/mlmodelscope-uploader:$UPLOADER_VERSION"
ports:
- "8089:80"
mq:
image: rabbitmq:3-management-alpine
environment:
RABBITMQ_DEFAULT_USER: "$MQ_USER"
RABBITMQ_DEFAULT_PASS: "$MQ_PASSWORD"
ports:
- "15672:15672"
- "5672:5672"