Name: SciGraph-docker-ncats
Owner: Monarch Initiative
Description: Docker image for SciGraph ncats instance
Created: 2017-04-20 11:18:36.0
Updated: 2017-04-20 20:26:02.0
Pushed: 2017-04-20 13:50:46.0
Homepage: null
Size: 5
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|---|---|
Jeremy | 2017-04-20 13:50:43.0 | 3 |
Other Committers
User | Most Recent Commit | # Commits |
---|
Build two Docker images with the configs. Uses master HEAD from the SciGraph github repo.
Need to have docker installed in order to run the build.
Generate the docker images locally:
mvn package
Load the graph:
docker run -v /tmp/graph:/scigraph scigraph-load-ncats
Run the services:
docker run -v /tmp/graph:/scigraph -d -p 9000:9000 –name scigraph-services scigraph-services-ncats
Stop the services:
docker stop scigraph-services
Read logs of the services:
docker logs scigraph-services
Tips, remove all the local images
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
Enabling the image writers
add that in the /etc/rc.local Xvfb :1 -screen 0 800x600x16 &
and that in the /etc/environment export DISPLAY=:1