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.
docker run -p 8080:8080 -p 9200:9200 -p 9999:9999 knowledgelinks/semantic-server
Using the Semantic Server for anything but trival applications, you'll likely want to persist data between Docker restarts.
- Elasticsearch: /opt/elasticsearch/data
- Blazegraph: /opt/triplestore/data
- Fedora: /opt/repository/fcrepo4-data
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