-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
55 lines (52 loc) · 1.53 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
version: '3.9'
services:
virtuoso:
image: tenforce/virtuoso:virtuoso7.2.5
container_name: "virtuoso"
environment:
VIRT_Parameters_NumberOfBuffers: 51000
VIRT_Parameters_MaxDirtyBuffers: 37500
VIRT_Parameters_TN_MAX_memory: 4000000
VIRT_Parameters_TransactionAfterImageLimit: 500000
VIRT_SPARQL_ResultSetMaxRows: 1000
VIRT_SPARQL_MaxDataSourceSize: 10000
VIRT_SPARQL_MaxQueryCostEstimationTime: 0
VIRT_SPARQL_MaxQueryExecutionTime: 0
DBA_PASSWORD: dba
SPARQL_UPDATE: "true"
DEFAULT_GRAPH: "graph:test:discovery:default:"
ports:
- "8890:8890"
## -------------------------------------------------
## Activating CORS in VIRTUOSO
##
selenium_cors:
image: inraep2m2/service-allow-cors-virtuoso
environment:
virtuoso_site: "http://virtuoso:8890/"
login: dba
passwd: dba
chrome_container: chrome
depends_on: [chrome, virtuoso]
command: >
bash -c 'sleep 15s &&\
echo " **** configure CORS / Virtuoso ****" && node virtuoso_cors.js'
## -------------------------------------------------
## Chrome / Selenium
##
chrome:
container_name: chrome
image: selenium/standalone-chrome
environment:
START_XVFB: 'false'
## -------------------------------------------------
## Static file server
##
static-file-server:
container_name: static-file-server
image: inraep2m2/service-static-file-server:latest
environment:
CORS: "true"
DEBUG: "true"
ports:
- 8080:8080