Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Latest commit

 

History

History
37 lines (29 loc) · 1.58 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.58 KB

dockerParliamentTS

Scripts for building a Docker image of Parliament triple store.

Files:

  • README.md - This file.
  • Dockerfile - Docker file for building a Docker Image.
  • containerSetup.sh - Commands for setting up Parliament inside a container.
  • setup.sh - Host script for removing old containers and images from host machine. Then, it creates a Docker image called "parliament_img".
  • jetty.xml - Web and application server configuration file.
  • ParliamentConfig.txt - Parliament configuration file.

Prerequisites:

Instructions:

  1. Clone this project and go to the project's folder
  2. Run the host script ./setup.sh
  3. Log in the container ssh -p 49701 root@localhost. The default password is xxxx.xxxx.xxxx
  4. Run the container script /home/root/./containerSetup.sh

NOTES:

  • Parliament runs on port 49702. The application web interface would be available at http://localhost:49702/parliament.
  • containerSetup.sh runs Parliament on the background by using ./StartParliament.sh &; this produces an exception message.
  • Remember to flush using the web interface before stopping teh container. This can avoid data loss.