forked from aistairc/vhakg-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
43 lines (40 loc) · 1.19 KB
/
compose.yaml
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
version: "3"
services:
app:
image: nginx:latest
depends_on:
- react
- graphdb
ports:
- 5050:80
volumes:
- ./app/build:/usr/share/nginx/html
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
react:
image: node:20
volumes:
- ./app:/app
command: sh -c "chmod +x /app/entrypoint.sh && /app/entrypoint.sh"
graphdb:
image: ontotext/graphdb:10.4.4-arm64
ports:
- 7200:7200
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
-Dinfer.pool.size=4
-Xmx8g