about summary refs log tree commit diff
path: root/Dockerfile.neo4j
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-15 16:13:16 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-15 16:13:16 +0200
commit492a682e34d66dd3046ed08f7aee80fb5317f777 (patch)
tree1476096e94cc5443286634df77a94c46a2a77e70 /Dockerfile.neo4j
parent67b35a601ad88cd052ceae8d99c1e6df199cf50b (diff)
Add custom neo4j dockerfile with graphaware and noderank plugins
Diffstat (limited to 'Dockerfile.neo4j')
-rw-r--r--Dockerfile.neo4j14
1 files changed, 14 insertions, 0 deletions
diff --git a/Dockerfile.neo4j b/Dockerfile.neo4j
new file mode 100644
index 000000000..0b20d49de
--- /dev/null
+++ b/Dockerfile.neo4j
@@ -0,0 +1,14 @@
+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