Skip to content
This repository has been archived by the owner on Jul 30, 2023. It is now read-only.

LambdaGeo/linkedopendata-ufma

Repository files navigation

Fuseki

Apache Jena Fuseki with SeCo extensions.

Available also in Docker Hub: secoresearch/fuseki.

The Fuseki administrative interface is accessible at http://localhost:3030 with the admin password defined as docker run parameter (see Run below).

The container has a preconfigured service/dataset ds that has a Lucene text index and spatial index (see assembler.ttl for configuration).

The data can be accessed via the endpoints:

The container includes Jena tdbloader, textindexer, spatialindexer, and tdbstats scripts for loading RDF data into TDB model. See the Dockerfile of the congress-legislators dataset for an example.

Note on running in OpenShift, if you use this image as a parent image (e.g. use your own Dockerfile to load the data inside the image using TDBLOADER): as containers are ran as an arbitrary user, you'll have to ensure the write permission on the TDB and index directories, e.g. by adding the following lines in your Dockerfile after the tdbloader and indexing commands:

# Set permissions to allow fuseki to run as an arbitrary user
RUN chgrp -R 0 $FUSEKI_BASE \
    && chmod -R g+rwX $FUSEKI_BASE

Build

docker build --squash -t secoresearch/fuseki .

Run

docker run --rm -it -p 3030:3030 --name fuseki -e ADMIN_PASSWORD=[PASSWORD] secoresearch/fuseki

The same command can be used to pull and run the container from Docker Hub (no need to build the image first).

docker compose

docker-compose build docker-compose up

heroku

  • heroku container:login
  • heroku container:push web --app linked-ufma
  • heroku container:release web --app linked-ufma

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published