From 5281abdf80594efbbf6aed331ecedc6bc48ffa6e Mon Sep 17 00:00:00 2001 From: apb Date: Mon, 1 Nov 2021 11:13:34 +0000 Subject: [PATCH] [add] fuseki --- fuseki/Dockerfile | 26 ++++++++++++++++++++++++++ fuseki/docker-compose.yml | 13 +++++++++++++ tiddlywiki/docker-compose.yml | 8 ++++---- 3 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 fuseki/Dockerfile create mode 100644 fuseki/docker-compose.yml diff --git a/fuseki/Dockerfile b/fuseki/Dockerfile new file mode 100644 index 0000000..1136031 --- /dev/null +++ b/fuseki/Dockerfile @@ -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}" \ No newline at end of file diff --git a/fuseki/docker-compose.yml b/fuseki/docker-compose.yml new file mode 100644 index 0000000..7c52a57 --- /dev/null +++ b/fuseki/docker-compose.yml @@ -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 diff --git a/tiddlywiki/docker-compose.yml b/tiddlywiki/docker-compose.yml index 7c52a57..4c99e3b 100644 --- a/tiddlywiki/docker-compose.yml +++ b/tiddlywiki/docker-compose.yml @@ -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 +