forked from neo4j/graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
34 lines (33 loc) · 1.01 KB
/
docker-compose.yaml
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
30
31
32
33
34
version: "3.0"
services:
neo4j-service:
image: neo4j:4.2.9-enterprise
ports:
- 7474:7474
- 7687:7687
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/test
- NEO4J_dbms_security_procedures_unrestricted=apoc.*
- NEO4JLABS_PLUGINS=["apoc"]
- NEO4J_dbms_security_procedures_whitelist=apoc.*
volumes:
- $HOME/neo4j/data:/data
- $HOME/neo4j/logs:/logs
- $HOME/neo4j/import:/var/lib/neo4j/import
- $HOME/neo4j/plugins:/plugins
healthcheck:
test: wget http://localhost:7474/browser -O -
interval: 1s
timeout: 1s
retries: 40
tests:
build:
context: .
environment:
- NEO_URL=neo4j://neo4j-service:7687
- NEO_USER=neo4j
- NEO_PASSWORD=test
depends_on:
neo4j-service:
condition: service_healthy