-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathdocker-compose.yml
63 lines (58 loc) · 1.28 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
55
56
57
58
59
60
61
62
63
# Copyright 2019-2021 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0
version: '2'
services:
annotation-app:
container_name: app
image: 1107899648/vmware-daml-annotation-app:latest
depends_on:
- annotation-service
ports:
- "4200:4200"
networks:
- bridge
restart: always
annotation-service:
container_name: as
image: 1107899648/vmware-daml-annotation-service:latest
environment:
- MONGODB_URL=mongodb://db:27017/daml
- LOOP_AL_URL=http://als:8000/api
depends_on:
- mongo
- active-learning-service
ports:
- "3000:3000"
networks:
- bridge
volumes:
- "./data/as:/app/FILE_SYS"
restart: always
active-learning-service:
container_name: als
image: 1107899648/vmware-daml-active-learning-service:latest
environment:
- MONGODB_URL=mongodb://db:27017/daml
- SPACY_MODEL=en_core_web_md
depends_on:
- mongo
ports:
- "8000:8000"
networks:
- bridge
volumes:
- "./data/als:/app/models"
restart: always
mongo:
image: mongo:latest
container_name: db
ports:
- "27017:27017"
networks:
- bridge
volumes:
- "./data/db:/data/db"
restart: always
networks:
bridge:
driver: bridge