Docker Image for Semantic Server backend using Fedora 4 as LDP, Blazegraph for SPARQL and triplestore, and Elastic Search for full-text searching. This repository runs Tomcat with Fedora 4, Blazegraph, and Elastic Search as webapps. Dockerfile available at https://gist.github.com/jermnelson/a32d640f80d5a72900f5.
docker run -it -p 8080:8080 jermnelson/semantic-server-backend /bin/bash
To persist your Fedora4 repository, create a volume mapping a local ~/data/fcrepo4-data directory (make sure you create this directory on host as well) to
/usr/local/tomcat/fcrepo4-data add a -v to your docker cmd:
docker run -it -p 8080:8080 -v ~/data/fcrepo4-data:/usr/local/tomcat/fcrepo4-data jermnelson/semantic-server-backend /bin/bash
After running your container, go to the tomcat
directory and run the startup.sh script to get Blazegraph to run correctly.
# cd bin # ./startup.sh
The Tomcat Homepage should now be available on the host at http://localhost:8080/.