Scripts for building a Docker image of Parliament triple store.
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.
- Clone this project and go to the project's folder
- Run the host script
./setup.sh - Log in the container
ssh -p 49701 root@localhost. The default password is xxxx.xxxx.xxxx - Run the container script
/home/root/./containerSetup.sh
- Parliament runs on port 49702. The application web interface would be available at http://localhost:49702/parliament.
containerSetup.shruns 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.