[add] fuseki
This commit is contained in:
parent
ee17d578a0
commit
5281abdf80
3 changed files with 43 additions and 4 deletions
26
fuseki/Dockerfile
Normal file
26
fuseki/Dockerfile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# fuseki with openjdk 11 docker image
|
||||
# @created 2021-11
|
||||
# author="Andy Bunce"
|
||||
ARG JDK_IMAGE=adoptopenjdk:11-jre-hotspot
|
||||
ARG VERSION=4.2.0
|
||||
|
||||
ENV URL=https://repository.apache.org/content/repositories/releases/org/apache/jena/jena-fuseki-server/${VERSION}/jena-fuseki-server-${VERSION}.jar
|
||||
ENV BASE=/mnt/apache-fuseki
|
||||
|
||||
## VOLUME /mnt/
|
||||
|
||||
RUN mkdir -p $BASE
|
||||
|
||||
WORKDIR $BASE
|
||||
|
||||
RUN curl --silent --show-error --output fuseki-server.jar $URL
|
||||
|
||||
EXPOSE 3030
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/java", "-jar", "fuseki-server.jar" ]
|
||||
|
||||
LABEL org.opencontainers.image.source="https://repository.apache.org/content/repositories/releases/org/apache/jena/jena-fuseki-server/${VERSION}"
|
||||
LABEL org.opencontainers.image.vendor="Quodatum Ltd"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL com.quodatum.basex-docker.basex="${VERSION}"
|
||||
LABEL com.quodatum.basex-docker.jdk="${JDK_IMAGE}"
|
13
fuseki/docker-compose.yml
Normal file
13
fuseki/docker-compose.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
tiddly:
|
||||
image: tiddlywiki:5.2.0
|
||||
build: .
|
||||
container_name: tiddlywiki-docker
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data/quodatum:/app
|
||||
ports:
|
||||
- 8088:8080
|
||||
env_file: ./.env
|
|
@ -2,12 +2,12 @@ version: '3'
|
|||
|
||||
services:
|
||||
tiddly:
|
||||
image: tiddlywiki:5.2.0
|
||||
image: fuseki:4.2.0
|
||||
build: .
|
||||
container_name: tiddlywiki-docker
|
||||
container_name: fuseki-docker
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data/quodatum:/app
|
||||
ports:
|
||||
- 8088:8080
|
||||
env_file: ./.env
|
||||
- 3030:3030
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue