From 29134011beb9cdf2dcc96c971bba46465182f7b3 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 23 Feb 2026 16:22:13 -0600 Subject: [PATCH] Add docker-compose for Neo4j with APOC plugin Pinned to neo4j:5 to match the Python driver. Uses named volumes and restart policy for production use. Co-Authored-By: Claude Opus 4.6 --- docker-compose.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..6f515a0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,31 @@ +version: '3.8' + +services: + neo4j: + image: neo4j:5 + container_name: netflix-graphrag-neo4j + restart: unless-stopped + ports: + - "7474:7474" + - "7687:7687" + volumes: + - neo4j_data:/data + - neo4j_logs:/logs + - neo4j_plugins:/plugins + environment: + - NEO4J_AUTH=neo4j/tavern-easy-museum-arthur-coconut-3483 + - NEO4J_PLUGINS=["apoc"] + - NEO4J_apoc_export_file_enabled=true + - NEO4J_apoc_import_file_enabled=true + - NEO4J_apoc_import_file_use__neo4j__config=true + healthcheck: + test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:7474 || exit 1"] + interval: 10s + timeout: 5s + retries: 5 + start_period: 30s + +volumes: + neo4j_data: + neo4j_logs: + neo4j_plugins: