-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathdocker-compose-host-db.yml
49 lines (45 loc) · 1.09 KB
/
docker-compose-host-db.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
# 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://host.docker.internal:27017/daml
- LOOP_AL_URL=http://als:8000/api
depends_on:
- 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://host.docker.internal:27017/daml
- SPACY_MODEL=en_core_web_md
ports:
- "8000:8000"
networks:
- bridge
volumes:
- "./data/als:/app/models"
restart: always
networks:
bridge:
driver: bridge