docker-compose.yml raw

   1  version: '3.8'
   2  
   3  services:
   4    neo4j:
   5      image: neo4j:5.15
   6      container_name: neo4j-test
   7      ports:
   8        - "7474:7474"  # HTTP
   9        - "7687:7687"  # Bolt
  10      environment:
  11        - NEO4J_AUTH=neo4j/testpass123
  12        - NEO4J_PLUGINS=["apoc"]
  13      volumes:
  14        - neo4j_data:/data
  15      healthcheck:
  16        test: ["CMD", "curl", "-f", "http://localhost:7474"]
  17        interval: 10s
  18        timeout: 5s
  19        retries: 5
  20  
  21  volumes:
  22    neo4j_data:
  23