-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (39 loc) · 1014 Bytes
/
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
version: '3.8'
services:
blazegraph:
image: lyrasis/blazegraph:2.1.5
ports:
- '8081:8080'
volumes:
- ./.docker/blazegraph.ini:/RWStore.properties:ro
- ./data/:/data/:ro
blazegraph-data:
image: curlimages/curl:7.76.1
depends_on:
- blazegraph
environment:
NAMESPACE: "${NAMESPACE:-http://localhost:8080/}"
entrypoint: ""
command: ["/wait-for.sh", "blazegraph:8080", "--", "./load-data.sh"]
volumes:
- ./.docker/load-data.ini:/load-data.ini:ro
- ./.docker/load-data.sh:/load-data.sh:ro
- ./.docker/wait-for.sh:/wait-for.sh:ro
client:
build:
context: client
environment:
NAMESPACE: "${NAMESPACE:-http://localhost:8080/}"
SPARQL_URL: http://blazegraph:8080/bigdata/namespace/kb/sparql
ports:
- '8082:8082'
volumes:
- ./client/web/:/app/web/:ro
deploy:
restart_policy:
condition: on-failure
trifid:
build:
context: trifid
ports:
- '8080:8080'