services: neo4j: image: neo4j:5.20-community container_name: wine-kg-neo4j ports: - "7474:7474" - "7687:7687" environment: NEO4J_AUTH: neo4j/wine-kg-dev NEO4J_PLUGINS: '["apoc","graph-data-science"]' NEO4J_dbms_security_procedures_unrestricted: apoc.*,gds.* NEO4J_dbms_memory_heap_max__size: 2G volumes: - neo4j_data:/data - neo4j_logs:/logs healthcheck: test: ["CMD-SHELL", "wget -qO- http://localhost:7474 || exit 1"] interval: 10s timeout: 5s retries: 10 app: build: . container_name: wine-kg-app depends_on: neo4j: condition: service_healthy environment: NEO4J_URI: bolt://neo4j:7687 NEO4J_USER: neo4j NEO4J_PASSWORD: wine-kg-dev volumes: - .:/workspace - ./data/raw:/workspace/data/raw:ro working_dir: /workspace command: tail -f /dev/null volumes: neo4j_data: neo4j_logs: