-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservices.yml
More file actions
96 lines (92 loc) · 2.01 KB
/
services.yml
File metadata and controls
96 lines (92 loc) · 2.01 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# The following variables should be set in the .env file
# datasource - the Docker image for the generic-datasource
# target - where the generic datasource looks for data
# coref - data directory for the coref corpus
# reference - same as above
# protein - same as above
# semeval - same as above
version: "3.4"
secrets:
api.ini:
external: true
volumes:
coref:
external: true
reference:
external: true
proteins:
external: true
semeval:
external: true
services:
registry:
image: registry:2
ports:
- 127.0.0.1:8500:5000
networks:
hostnet: {}
environment:
REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /data
volumes:
- /var/lib/docker:/data
deploy:
replicas: 1
coref:
image: lappsgrid/generic-datasource:latest
ports:
- 8080:8080
networks:
hostnet: {}
volumes:
- coref:/var/lib/datasource
deploy:
replicas: 1
reference:
image: lappsgrid/generic-datasource:latest
ports:
- 8081:8080
networks:
hostnet: {}
volumes:
- reference:/var/lib/datasource
deploy:
replicas: 1
proteins:
image: lappsgrid/generic-datasource:latest
ports:
- 8082:8080
networks:
hostnet: {}
volumes:
- proteins:/var/lib/datasource
deploy:
replicas: 1
semeval:
image: lappsgrid/generic-datasource:latest
ports:
- 8083:8080
networks:
hostnet: {}
volumes:
- /var/lib/corpora/SEMEVAL2017:/var/lib/datasource
deploy:
replicas: 1
api:
image: lappsgrid/api-service:latest
ports:
- 8084:8080
secrets:
- source: api.ini
target: /etc/lapps/api.ini
networks:
hostnet: {}
deploy:
replicas: 1
gate:
image: lappsgrid/gate
ports:
- 8085:8080
networks:
hostnet: {}
deploy:
replicas: 1