Skip to content

Runs Fedora Commons repository, Blazegraph, and Elasticsearch in a single Docker container

Notifications You must be signed in to change notification settings

KnowledgeLinks/semantic-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Server Docker

A project for creating a single Docker image that uses supervisord to run Blazegraph, Fedora Commons, and Elasticsearch for backend use in BIBCAT-based projects.

Quick start

docker run -p 8080:8080 -p 9200:9200 -p 9999:9999 knowledgelinks/semantic-server

Mount Volumes for Persistence

Using the Semantic Server for anything but trival applications, you'll likely want to persist data between Docker restarts.

Data directory paths

  • Elasticsearch: /opt/elasticsearch/data
  • Blazegraph: /opt/triplestore/data
  • Fedora: /opt/repository/fcrepo4-data

From the command-line

Use in docker-compose

Troubleshooting

Elasticseach not loading/dying: Elasticsearch version 6 requires higher than default virtual memory size as described in this Elastcisearch doc. To increase size on a linux machine enter:

sudo sysctl -w vm.max_map_count=262144

Volume mapping Elasticsearch: Possibly need to set permission on the host machine as described here in this Elasticsearch Doc

mkdir esdatadir

chmod g+rwx esdatadir

chgrp 1000 esdatadir

About

Runs Fedora Commons repository, Blazegraph, and Elasticsearch in a single Docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published