forked from KnowledgeGraphJapan/KGRC-RDF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (56 loc) · 1.5 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
version: '3'
services:
graphdb:
image: ontotext/graphdb:10.0.0
ports:
- 7200:7200
- 7300:7300
entrypoint: [ "/opt/graphdb/entrypoint.sh" ]
volumes:
- ./.graphdb-data:/opt/graphdb/home
- ./RDF:/opt/graphdb/home/graphdb-import
- ./graphdb-repo-config.ttl:/opt/graphdb/graphdb-repo-config.ttl
- ./entrypoint.sh:/opt/graphdb/entrypoint.sh
environment:
GDB_JAVA_OPTS: >-
-Xmx2g -Xms2g
-Dgraphdb.home=/opt/graphdb/home
-Dgraphdb.workbench.importDirectory=/opt/graphdb/home/graphdb-import
-Dgraphdb.workbench.cors.enable=true
-Denable-context-index=true
-Dentity-pool-implementation=transactional
-Dhealth.max.query.time.seconds=60
-Dgraphdb.append.request.id.headers=true
-Dreuse.vars.in.subselects=true
unity:
build:
context: ./virtualhome_aist/docker/unity
image: vh0
volumes:
- ./Output:/Output
api:
build:
context: ./virtualhome_aist
dockerfile: ./docker/api/Dockerfile
image: vh0-api
volumes:
- ./Output:/Output
depends_on:
unity:
condition: service_started
nginx:
image: nginx:latest
depends_on:
- graphdb
- vhecitor
- api
ports:
- 8080:80
volumes:
- "./nginx/nginx.conf:/etc/nginx/nginx.conf"
vhecitor:
build:
context: ui
args:
NEXT_PUBLIC_SPARQL_ENDPOINT: http://localhost:8080/sparql
NEXT_PUBLIC_API_URL: http://localhost:8080