Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/the-frey/fuseki-docker
A Docker for Fuseki
https://github.com/the-frey/fuseki-docker
Last synced: 12 days ago
JSON representation
A Docker for Fuseki
- Host: GitHub
- URL: https://github.com/the-frey/fuseki-docker
- Owner: the-frey
- Created: 2014-07-22T11:59:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-01-30T15:20:19.000Z (about 7 years ago)
- Last Synced: 2024-11-20T22:16:22.782Z (2 months ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fuseki Docker
Builds a docker image with a Fuseki install. Note that the Fuseki version is hardcoded in the HTTP request to the Apache mirror.
## Prerequisites
- Docker
- A Fuseki config file. One is included in this folder; to use your own, replace `config.ttl` with your config and edit the Dockerfile if you are mounting a TDB location other than `/data`## To build
$ docker build .
## To run
The file named `config.ttl` will be copied into the image and used as the config file for the Fuseki instance, named `config.ttl`, and located at `/opt/fuseki/config/config.ttl`. Run like so (where `` is your image ID):
docker run -d --name fuseki -v :/data
If you are running this, having not built it yourself, you can pass in a config file like so, assuming that your `config.ttl` file is in the folder ``:
docker run -d --name fuseki -v :/opt/fuseki/config
This will expose port 3030 by default.
Override the internally-mounted `/data` folder by using the `-v` flag and passing in the location of your TDB data. Note that the default `config.ttl` file expects the TDB location to be `/data`, so you will have to override that before running the build as well.
## JVM Args
Note that the JVM args are being overridden to provide more max swap. Change the `run-fuseki` script if you do not want to do this.