You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
857 B

  1. FROM neo4j:latest
  2. ENV NEO4J_AUTH=none
  3. RUN cd /var/lib/neo4j/plugins \
  4. && wget http://products.graphaware.com/download/framework-server-community/graphaware-server-community-all-3.0.6.43.jar \
  5. && wget http://products.graphaware.com/download/noderank/graphaware-noderank-3.0.6.43.3.jar
  6. RUN echo "dbms.unmanaged_extension_classes=com.graphaware.server=/graphaware" >> /var/lib/neo4j/conf/neo4j.conf
  7. RUN echo 'com.graphaware.runtime.enabled=true\n\
  8. com.graphaware.module.NR.1=com.graphaware.module.noderank.NodeRankModuleBootstrapper\n\
  9. com.graphaware.module.NR.maxTopRankNodes=10\n\
  10. com.graphaware.module.NR.dampingFactor=0.85\n\
  11. com.graphaware.module.NR.propertyKey=nodeRank\n'\
  12. >> /var/lib/neo4j/conf/neo4j.conf
  13. RUN echo 'com.graphaware.runtime.stats.disabled=true\n\
  14. com.graphaware.server.stats.disabled=true\n'\
  15. >> /var/lib/neo4j/conf/neo4j.conf