File tree Expand file tree Collapse file tree 1 file changed +32
-6
lines changed Expand file tree Collapse file tree 1 file changed +32
-6
lines changed Original file line number Diff line number Diff line change 1
- version : ' 2'
1
+ version : ' 3.2'
2
+ volumes :
3
+ bundle :
4
+ git :
5
+ graphviz :
6
+ mongo :
7
+ sparql :
2
8
services :
3
9
spring :
4
10
# To run from this source code instead of Docker hub,
5
11
# disable "image:"" and enable "build:" below
6
- image : commonworkflowlanguage/cwlviewer
12
+ image : commonworkflowlanguage/cwlviewer:v1.1.0
7
13
# build: .
8
14
ports :
9
15
- " 8080:8080"
10
16
links :
11
17
- mongo
12
18
- sparql
19
+ volumes :
20
+ - type : volume
21
+ source : bundle
22
+ target : /data/bundle
23
+ - type : volume
24
+ source : git
25
+ target : /data/git
26
+ - type : volume
27
+ source : graphviz
28
+ target : /data/graphviz
13
29
environment :
14
30
- SPARQL_ENDPOINT=http://sparql:3030/cwlviewer/
15
31
- SPRING_DATA_MONGODB_HOST=mongo
16
32
- SPRING_DATA_MONGODB_PORT=27017
33
+ - BUNDLESTORAGE=/data/bundle
34
+ - GITSTORAGE=/data/git
35
+ - GRAPHVIZSTORAGE=/data/graphviz
17
36
mongo :
18
- image : mongo
37
+ image : mongo:3.4
38
+ volumes :
39
+ - type : volume
40
+ source : mongo
41
+ target : /data/db
19
42
sparql :
20
43
# # For debugging, expose the Fuseki port by enabling:
21
44
# ports:
22
45
# - "3030:3030"
23
46
# # To find the admin password, try:
24
47
# # docker-compose exec sparql grep admin /fuseki/shiro.ini
25
- image : stain/jena-fuseki
26
- # FIXME: --loc=/fuseki/databases/cwlviewer fails as it needs empty dir
27
- command : " /jena-fuseki/fuseki-server --loc=/fuseki/databases /cwlviewer"
48
+ image : stain/jena-fuseki:3.4.0
49
+ volumes :
50
+ - type : volume
51
+ source : sparql
52
+ target : /fuseki/databases
53
+ command : " /jena-fuseki/fuseki-server --loc=/fuseki/databases/cwlviewer /cwlviewer"
You can’t perform that action at this time.
0 commit comments