-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (28 loc) · 823 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (28 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
services:
neo4j:
image: neo4j:5-community
container_name: neo4j-test
ports:
- "7688:7687" # Bolt protocol (mapped to custom port 7688)
- "7475:7474" # HTTP (browser interface)
environment:
- NEO4J_AUTH=neo4j/password
- NEO4J_dbms_default__database=neo4j
- NEO4J_dbms_memory_pagecache_size=512M
- NEO4J_dbms_memory_heap_initial__size=512M
- NEO4J_dbms_memory_heap_max__size=1G
- NEO4JLABS_PLUGINS=["apoc"]
- NEO4J_dbms_security_procedures_unrestricted=apoc.*
- NEO4J_dbms_security_procedures_allowlist=apoc.*
volumes:
- neo4j-data:/data
- neo4j-logs:/logs
healthcheck:
test: ["CMD", "neo4j", "status"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
volumes:
neo4j-data:
neo4j-logs: