-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
54 lines (48 loc) · 1.29 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
50
51
52
53
54
version: "3.8"
services:
api:
image: "$DOCKER_REGISTRY/mlmodelscope-api:$API_VERSION"
environment:
- DB_DBNAME=$DB_DBNAME
- DB_DRIVER=$DB_DRIVER
- DB_HOST=$DB_HOST
- DB_PORT=$DB_PORT
- DB_USER=$DB_USER
- DB_PASSWORD=$DB_PASSWORD
- MQ_HOST=$MQ_HOST
- MQ_PORT=$MQ_PORT
- MQ_USER=$MQ_USER
- MQ_PASSWORD=$MQ_PASSWORD
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"
companion:
image: transloadit/companion:sha-a74ae35
environment:
COMPANION_AWS_KEY: "$AWS_ACCESS_KEY_ID"
COMPANION_AWS_SECRET: "$AWS_SECRET_ACCESS_KEY"
COMPANION_AWS_BUCKET: "$UPLOAD_BUCKET"
COMPANION_AWS_REGION: "$UPLOAD_BUCKET_REGION"
COMPANION_DOMAIN: "http://companion.${ENVIRONMENT}mlmodelscope.org"
COMPANION_DATADIR: "/data"
volumes:
- /tmp/companion_data:/data
mq:
image: rabbitmq:3-management-alpine
environment:
RABBITMQ_DEFAULT_USER: "$MQ_USER"
RABBITMQ_DEFAULT_PASS: "$MQ_PASSWORD"
ports:
- "15672:15672"
- "5672:5672"