-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
84 lines (84 loc) · 1.93 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
version: '2'
services:
server:
image: nanopub/server
restart: unless-stopped
depends_on:
- db
- rdfsink
environment:
- NPS_MONGODB_HOST=db
- NPS_COLLECT_NANOPUBS_ENABLED=true
# - NPS_PUBLIC_URL=http://.../
- NPS_POST_NEW_NANOPUBS_TO=http://rdfsink:80
- NPS_WAIT_MS_BEFORE_PEER_SCAN=1000
ports:
- 7880:8080
logging:
options:
max-size: "10m"
max-file: "3"
db:
image: nanopub/mongo
# image: mongo
restart: unless-stopped
volumes:
- ./data/mongodb:/data/db
# ports:
# - 27017:27017
rdfsink:
image: nanopub/rdfsink
restart: unless-stopped
depends_on:
- virtuoso
environment:
- ENDPOINT=http://virtuoso:1111/
- UPDATE_ENDPOINT=http://virtuoso:1111/
- USERNAME=dba
- PASSWORD=dba
- MODULE=nanopub
- REPO_TYPE=virtuoso
volumes:
- ./data/rdfsink:/data
virtuoso:
image: nanopub/virtuoso
# image: tenforce/virtuoso
# image: openlink/virtuoso-opensource-7:latest
restart: unless-stopped
# ports:
# - 8890:8890
# - 1111:1111
environment:
# - SPARQL_UPDATE=true
- DBA_PASSWORD=dba
- VIRT_SPARQL_MaxQueryExecutionTime=600
- VIRT_SPARQL_MaxQueryCostEstimationTime=0
volumes:
- ./data/virtuoso:/data
# - ./data/virtuoso:/database # for openlink/virtuoso-opensource-7
grlc:
image: nanopub/grlc
# image: clariah/grlc:dev
restart: unless-stopped
# ports:
# - 8001:80
# - 8001:8088
environment:
- GRLC_SPARQL_ENDPOINT=http://virtuoso:8890/sparql/
- USERMAP_GID=1000
- USERMAP_UID=1000
# - DEBUG=true
# volumes:
# - ./data/grlc/nanopub-api:/home/grlc/queries
nginx:
image: nanopub/nginx
restart: unless-stopped
ports:
- 7881:80
ldf:
image: nanopub/ldf
restart: unless-stopped
ports:
- 7882:3000
# environment:
# - BASEURL=http://.../