File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1
- FROM maven:3.5-jdk-8-alpine
1
+ xFROM maven:3.5-jdk-8-alpine
2
2
MAINTAINER Stian Soiland-Reyes <
[email protected] >
3
3
4
4
# Build-time metadata as defined at http://label-schema.org
@@ -50,6 +50,6 @@ ENV SPRING_DATA_MONGODB_HOST=mongo
50
50
ENV SPRING_DATA_MONGODB_PORT=27017
51
51
52
52
# Expects a sparql server endpoint
53
- ENV SPRING_DATA_SPARQL_ENDPOINT =http://sparql:3030/all/
53
+ ENV SPARQL_ENDPOINT =http://sparql:3030/all/
54
54
55
55
CMD ["/usr/bin/java" , "-jar" , "/usr/lib/cwlviewer.jar" ]
Original file line number Diff line number Diff line change 1
1
version : ' 2'
2
2
services :
3
3
spring :
4
- image : commonworkflowlanguage/cwlviewer
4
+ # To run from this source code instead of Docker hub,
5
+ # disable "image:"" and enable "build:" below
6
+ image : commonworkflowlanguage/cwlviewer
5
7
# build: .
6
8
ports :
7
9
- " 8080:8080"
8
- # TODO:
9
- # volumes:
10
- # - .:/code
11
10
links :
12
11
- mongo
13
12
- sparql
14
13
environment :
15
- - SPRING_DATA_SPARQL_ENDPOINT=" http://sparql:3030/all/"
14
+ - SPARQL_ENDPOINT= http://sparql:3030/cwlviewer/
16
15
- SPRING_DATA_MONGODB_HOST=mongo
17
16
- SPRING_DATA_MONGODB_PORT=27017
18
17
mongo :
19
18
image : mongo
20
19
sparql :
21
- image : stain/jena-fuseki
20
+ # # For debugging, expose the Fuseki port by enabling:
21
+ # ports:
22
+ # - "3030:3030"
23
+ # # To find the admin password, try:
24
+ # # 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"
You can’t perform that action at this time.
0 commit comments