Files
next.orly.dev/pkg/neo4j/docker-compose.yml

23 lines
433 B
YAML

version: '3.8'
services:
neo4j:
image: neo4j:5.15
container_name: neo4j-test
ports:
- "7474:7474" # HTTP
- "7687:7687" # Bolt
environment:
- NEO4J_AUTH=neo4j/testpass123
- NEO4J_PLUGINS=["apoc"]
volumes:
- neo4j_data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7474"]
interval: 10s
timeout: 5s
retries: 5
volumes:
neo4j_data: