-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
157 lines (151 loc) · 3.39 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
version: '3.3'
# networks:
# dockernet:
# external:
# name: dockernet
#networks:
# internal:
# driver: bridge
# Dependencies:
# vfb-kb
## vfb-kb2kb
### vfb-validatekb
#### vfb-collectdata
# vfb-triplestore
## vfb-updatetriplestore
# vfb-integration-api
# vfb-owlery
# vfb-prod
## vfb-updateprod
services:
vfb-kb:
image: virtualflybrain/docker-neo4j-knowledgebase:neo2owl
# deploy:
# replicas: 1
# resources:
# limits:
# cpus: "1"
# memory: 6G
# restart_policy:
# condition: on-failure
environment:
- NEO4J_AUTH=neo4j/neo
- NEO4J_dbms_read__only=false
- NEO4J_dbms_memory_heap_maxSize=6G
- NEO4J_dbms_memory_heap_initial__size=1G
ports:
- 7474:7474
- 7687:7687
vfb-triplestore:
image: yyz1989/rdf4j:latest
environment:
- JVM_PARAMS=-Xms1G -Xmx5G
- RDF4J_DATA=/data
ports:
- 8080:8080
vfb-prod:
image: matentzn/vfb-prod:latest
environment:
- NEO4J_AUTH=neo4j/neo
- NEO4J_dbms_read__only=false
- NEO4J_dbms_memory_heap_maxSize=3G
- NEO4J_dbms_memory_heap_initial__size=1G
ports:
- 7473:7474
- 7686:7687
# networks:
# - dockernet
healthcheck:
test: [ "CMD", "wget", "-O", "-", "http://vfb-prod:7473" ]
interval: 18s
timeout: 12s
retries: 3
vfb-kb2kb:
image: matentzn/vfb-pipeline-kb2kb:latest
depends_on:
- vfb-kb
links:
- vfb-kb
environment:
- KBpassword=neo4j/neo
- KBserver=http://vfb-kb:7474
# networks:
# - dockernet
vfb-validatekb:
image: matentzn/vfb-pipeline-validatekb:latest
depends_on:
- vfb-kb2kb
links:
- vfb-kb
environment:
- KBpassword=neo4j/neo
- KBserver=http://vfb-kb:7474
# networks:
# - dockernet
vfb-collectdata:
image: matentzn/vfb-pipeline-collectdata:latest
depends_on:
- vfb-validatekb
links:
- vfb-kb
environment:
- KBpassword=neo4j/neo
- KBserver=http://vfb-kb:7474
volumes:
- vfb_data:/out
# networks:
# - dockernet
vfb-updatetriplestore:
image: matentzn/vfb-pipeline-updatetriplestore:latest
depends_on:
- vfb-collectdata
- vfb-triplestore
links:
- vfb-triplestore
environment:
- SERVER=http://vfb-triplestore:8080
volumes:
- vfb_data:/data
# networks:
# - dockernet
vfb-updateprod:
image: matentzn/vfb-pipeline-update-prod:latest
depends_on:
- vfb-integration-api
- vfb-prod
links:
- vfb-integration-api
- vfb-prod
environment:
- password=neo4j/neo
- server=http://vfb-prod:7474
- IMPORT=http://vfb-integration-api:5000/prod
# networks:
# - dockernet
vfb-owlery:
image: virtualflybrain/owlery-vfb:latest
depends_on:
- vfb-integration-api
links:
- vfb-integration-api
ports:
- 80:8080
environment:
- OWLURL=http://vfb-integration-api:5000/owlery
# networks:
# - dockernet
vfb-integration-api:
image: matentzn/vfb-integration-api:latest
depends_on:
- vfb-updatetriplestore
- vfb-triplestore
links:
- vfb-triplestore
ports:
- 5000:5000
environment:
- SPARQLENDPOINT=http://vfb-triplestore:8080/rdf4j-server/repositories/vfb?query=
# networks:
# - dockernet
volumes:
vfb_data: