2016-10-15 10:13:16 -04:00
|
|
|
FROM neo4j:latest
|
|
|
|
|
|
|
|
ENV NEO4J_AUTH=none
|
|
|
|
|
|
|
|
RUN cd /var/lib/neo4j/plugins \
|
|
|
|
&& wget http://products.graphaware.com/download/framework-server-community/graphaware-server-community-all-3.0.6.43.jar \
|
|
|
|
&& wget http://products.graphaware.com/download/noderank/graphaware-noderank-3.0.6.43.3.jar
|
|
|
|
RUN echo "dbms.unmanaged_extension_classes=com.graphaware.server=/graphaware" >> /var/lib/neo4j/conf/neo4j.conf
|
|
|
|
RUN echo 'com.graphaware.runtime.enabled=true\n\
|
|
|
|
com.graphaware.module.NR.1=com.graphaware.module.noderank.NodeRankModuleBootstrapper\n\
|
|
|
|
com.graphaware.module.NR.maxTopRankNodes=10\n\
|
|
|
|
com.graphaware.module.NR.dampingFactor=0.85\n\
|
|
|
|
com.graphaware.module.NR.propertyKey=nodeRank\n'\
|
|
|
|
>> /var/lib/neo4j/conf/neo4j.conf
|
2016-10-18 10:37:15 -04:00
|
|
|
RUN echo 'com.graphaware.runtime.stats.disabled=true\n\
|
|
|
|
com.graphaware.server.stats.disabled=true\n'\
|
|
|
|
>> /var/lib/neo4j/conf/neo4j.conf
|