Skip to content

Instantly share code, notes, and snippets.

@Btibert3
Created August 3, 2023 23:09
Show Gist options
  • Save Btibert3/9062ce5f36bacbd83440b1a78a9e7403 to your computer and use it in GitHub Desktop.
Save Btibert3/9062ce5f36bacbd83440b1a78a9e7403 to your computer and use it in GitHub Desktop.
Neo4j 5.10 Docker Compose with APOC and GDS
version: '3.8'
services:
neo4j:
# modified from: https://github.com/neo4j-examples/nlp-knowledge-graph/blob/master/docker-compose.yml
image: neo4j:5.10.0-enterprise
container_name: "neo4j-5.10"
# https://stackoverflow.com/questions/75018323/problem-installing-a-plugin-in-docker-container-of-neo4j
volumes:
- ./neo4j/data:/data
- ./neo4j/import:/var/lib/neo4j/import
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/password
- NEO4J_dbms_security_procedures_unrestricted=apoc.*,gds.*
- NEO4J_PLUGINS=["graph-data-science", "apoc"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment