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: