-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 869 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 869 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
30
31
32
33
34
35
36
37
38
39
version: '3.8'
services:
neo4j:
image: neo4j:5.15-community
ports:
- "7474:7474" # HTTP
- "7687:7687" # Bolt
environment:
- NEO4J_AUTH=neo4j/password
- NEO4J_PLUGINS=["apoc", "graph-data-science"]
- NEO4J_dbms_security_procedures_unrestricted=apoc.*,gds.*
volumes:
- neo4j-data:/data
- neo4j-logs:/logs
- neo4j-import:/var/lib/neo4j/import
healthcheck:
test: ["CMD", "cypher-shell", "-u", "neo4j", "-p", "password", "RETURN 1"]
interval: 10s
timeout: 5s
retries: 5
memex-server:
build: .
ports:
- "8080:8080"
environment:
- NEO4J_URI=bolt://neo4j:7687
- NEO4J_USER=neo4j
- NEO4J_PASSWORD=password
- PORT=8080
depends_on:
neo4j:
condition: service_healthy
volumes:
neo4j-data:
neo4j-logs:
neo4j-import: