-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
73 lines (70 loc) · 2.26 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
# this is a sample docker-compose of how to use kgap microservices
# it functions as (1) a list of images to be build, (2) a usage-example and (3) a quick-test
version: "3.7"
# -----------------------------------------------------------------------
services:
osdg-tool:
image: osdg/osdg-tool:latest
container_name: lwua_osdg_tool
ports:
- 5001:5000
labels:
be.vliz.container.project: "LWUA"
be.vliz.container.group: "services"
yasgui:
image: redpencil/yasgui:latest
container_name: lwua_kgap_yasgui
environment:
DEFAULT_SPARQL_ENDPOINT: "http://localhost:7200/repositories/${GDB_REPO:-kgap}" # that should be in the setup script | same exposed port as graphdb
ports:
- "8080:80"
graphdb:
image: ${REG_NS:-kgap}/kgap_graphdb:${BUILD_TAG:-latest}
container_name: lwua_kgap_graphdb
env_file:
- ./.env
#environment:
#GDB_REPO: kgap # default should be changed to reflect the name of your particular case
#GDB_HOME_FOLDER: /opt/graphdb/home/ # default might be changed to externalise/persist the storage
ports:
- 7201:7200 # HTTP
volumes:
- ./data:/root/graphdb-import/data
# todo later - consider mounted volumes for persistence of data ?
jupyter:
image: ${REG_NS:-kgap}/kgap_jupyter:${BUILD_TAG:-latest}
container_name: lwua_kgap_jupyter
ports:
- "8889:8888"
links:
- graphdb
volumes:
- "./notebooks:/notebooks" #can this be a env var given by end user?
- "./data:/data"
env_file:
- ./.env
environment:
GDB_BASE: "http://graphdb:7200/"
NOTEBOOK_ARGS: "--NotebookApp.token=''"
depends_on:
graphdb:
condition: service_healthy
sembench:
#build:
# context: ./sembench
image: ${REG_NS:-kgap}/kgap_sembench:${BUILD_TAG:-latest}
container_name: lwua_kgap_sembench
volumes:
- "./data:/data"
- "./config:/config"
env_file:
- ./.env
# environment:
# - INPUT_DATA_LOCATION=/data
# - OUTPUT_DATA_LOCATION=/data
# - SEMBENCH_DATA_LOCATION=/data
# - SEMBENCH_CONFIG_PATH=/data/sembench.json
# - SCHEDULER_INTERVAL_SECONDS=86400
depends_on:
graphdb:
condition: service_healthy