Skip to content

Latest commit

 

History

History
100 lines (73 loc) · 2.71 KB

File metadata and controls

100 lines (73 loc) · 2.71 KB

fuseki-docker-plus

Customized Apache Jena Fuseki Docker Image with Pre-installed Plugins and a simple plugin manager for self contained plugin JARs.

Features

Quick Start

Build the Image

docker build -t aksw/fuseki-plus:6.0.0 .

Run with Docker Compose

docker compose up -d

Manage Plugins

The plugins CLI is available at /usr/local/bin/plugins. Use Docker's entrypoint override to run plugin commands:

List available plugins:

docker run --rm --entrypoint /usr/local/bin/plugins aksw/fuseki-plus:6.0.0 list

Check plugin status:

docker run --rm --entrypoint /usr/local/bin/plugins aksw/fuseki-plus:6.0.0 status

With docker compose:

docker compose exec --entrypoint /usr/local/bin/plugins fuseki list

Add a plugin from URL:

docker compose exec --entrypoint /usr/local/bin/plugins fuseki add https://example.com/plugin-1.0.0.jar

Enable a plugin (activates it):

docker compose exec --entrypoint /usr/local/bin/plugins fuseki enable jena-exectracker-0.7.0.jar

Disable a plugin:

docker compose exec --entrypoint /usr/local/bin/plugins fuseki disable jena-exectracker-0.7.0.jar

Remove a plugin:

docker compose exec --entrypoint /usr/local/bin/plugins fuseki remove jena-exectracker-0.7.0.jar

Directory Structure

Path Purpose Persistent
/app/fuseki/plugins/ Pre-bundled plugins (in image) No
/app/fuseki/run/plugins/ User-downloaded plugins Yes
/app/fuseki/run/extra/ Active plugins (copied here) Yes
/app/fuseki/run/config.ttl Fuseki configuration Yes

Plugin Management CLI

Usage: plugins <command> [options]

Commands:
  list              List available plugins
  status            List all plugins with installation status
  add <url>         Download plugin from URL to /app/fuseki/run/plugins/
  remove <name>     Remove plugin from /app/fuseki/run/plugins/ and /app/fuseki/run/extra/
  enable <names>    Copy plugin(s) to /app/fuseki/run/extra/ (activate)
  disable <names>   Remove plugin(s) from /app/fuseki/run/extra/ (deactivate)

Versioning

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

Current version: 6.0.0

License

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