Skip to content

Instantly share code, notes, and snippets.

@Joshfindit
Forked from CliffordAnderson/docker
Last active January 10, 2017 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Joshfindit/2a2c1e479f4367cf2ff64984aee488da to your computer and use it in GitHub Desktop.
Save Joshfindit/2a2c1e479f4367cf2ff64984aee488da to your computer and use it in GitHub Desktop.
Docker Image for Neo4j 3.1 with just APOC (Spatial plugin not currently updated for 3.1)
# Adding APOC to Official Neo4j Docker Image
FROM neo4j:3.1
ENV NEO4J_PLUGINS_PATH /var/lib/neo4j/plugins/
ENV NEO4J_APOC_FILE apoc-3.1.0.3-all.jar
ENV NEO4J_APOC_URI https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/3.1.0.3/apoc-3.1.0.3-all.jar
RUN curl --fail --silent --show-error --location --output $NEO4J_APOC_FILE $NEO4J_APOC_URI \
&& mv $NEO4J_APOC_FILE $NEO4J_PLUGINS_PATH
EXPOSE 7474 7473 7687
CMD ["neo4j"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment