netflix/docker-compose.yml
michael 29134011be 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 <noreply@anthropic.com>
2026-02-23 16:22:13 -06:00

31 lines
774 B
YAML

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: