-
Notifications
You must be signed in to change notification settings - Fork 0
Home
- Install docker
- Install docker-compose
Build images for broker, mysql, and solr. Virtuoso currently uses a default image.
https://github.com/freme-project/freme-docker
cd freme-docker/freme-mysql
sudo docker build -t fremeproject/freme-mysql .
cd ../freme-solr
sudo docker build -t fremeproject/freme-solr .
Assuming that you have build the images locally and have logged in to dockerhub using docker login
. Further assuming that you have write access to the organization fremeproject
.
sudo docker push fremeproject/freme-broker
You can exchange fremeproject/freme-broker
with other images. Your images will be uploaded to https://hub.docker.com/u/fremeproject/
This assumes you have already cloned the freme-docker repository and build the images. From the freme-docker repository folder, execute
cd compose
sudo docker-compose up
Usually you do not need this. Docker compose will start all of them.
sudo docker run --name freme-mysql -e MYSQL_ROOT_PASSWORD=root -d fremeprojecteu/freme-mysql
sudo docker run --name my-virtuoso -e DBA_PASSWORD=myDbaPassword -e SPARQL_UPDATE=true -e DEFAULT_GRAPH=http://www.example.com/my-graph -v /my/path/to/the/virtuoso/db:/data -d tenforce/virtuoso
sudo docker run --name freme-solr -d-p 4002:8983 fremeprojecteu/freme-solr
sudo docker run --name freme-broker -d --link freme-mysql:mysql --link freme-solr:solr --link freme-virtuoso -p 4000:8080 fremeprojecteu/freme-broker
The broker exposes the FREME API on port 4000 of the host.