Skip to content

Latest commit

 

History

History
82 lines (57 loc) · 2.25 KB

File metadata and controls

82 lines (57 loc) · 2.25 KB

Fuseki Docker

Apache Jena Fuseki is a powerful SPARQL server. This repository provides a Dockerized version of Fuseki, packaged as a vanilla Docker image. Vanilla means that the image contains just the Fuseki server without any customization.

Images are published to docker.io/aksw/fuseki-vanilla

Pull with:

docker pull aksw/fuseki-vanilla:6.1.0-rc1

Check out aksw/fuseki-docker-plus which extends this image with prebundled plugins and a simple CLI-based plugin manager!

Features

  • Vanilla Apache Jena Fuseki
  • Configurable JVM arguments
  • Data persistence via volumes
  • Runs as non-root user (optional)

Directory Structure

  • /app/fuseki — Fuseki installation directory
  • /app/fuseki/run — Data and configuration volume

Quick Start

Build the Image

docker build --no-cache -t aksw/fuseki-vanilla:6.1.0-rc1 .

Run with Docker Compose

Create a docker-compose.yaml file:

services:
  fuseki:
    image: aksw/fuseki:6.1.0-rc1
    init: true
    environment:
      - JVM_ARGS=-Xmx4G -XX:ReplayDataFile=/app/fuseki/run/logs/fuseki_replay_pid%p.log -XX:ErrorFile=/app/fuseki/run/logs/fuseki_hs_err_pid%p.log -Dderby.stream.error.file=/app/fuseki/run/logs/fuseki_derby.log
    volumes:
      - ./run:/app/fuseki/run
    ports:
      - 3030:3030
      # - 5005:5005
    restart: unless-stopped
    user: "${APP_UID}:${APP_GID}"

Run with current user:

APP_UID=$(id -u) APP_GID=$(id -g) docker compose up -d

Configuration

  • Fuseki UI: http://localhost:3030
  • Port 3030: Main Fuseki HTTP endpoint
  • Port 5005: JDWP debug port (disable if not needed)
  • Config file: /app/fuseki/run/config.ttl (must be present or Fuseki will fail to start)

Persistence

Data is stored in the ./run directory (mapped to /app/fuseki/run inside the container). This includes:

  • Datasets and databases
  • Configuration files
  • Log files

Versioning

Image tag format: aksw/fuseki-vanilla:<fuseki-version>

Current version: 6.1.0-rc1

License

This project is licensed under the Apache License 2.0. See LICENSE for details.