-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (50 loc) · 1.23 KB
/
docker-compose.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: "3.8"
name: memgraph-spring-data-demo
services:
memgraph:
container_name: db
image: memgraph/memgraph-platform:latest
environment:
MEMGRAPH_USER: neo4j
MEMGRAPH_PASSWORD: password
MGCONSOLE: "--username ${MEMGRAPH_USER} --password ${MEMGRAPH_PASSWORD}"
MEMGRAPH: "--log-level=TRACE --bolt-server-name-for-init=Neo4j/5.9.0"
restart: unless-stopped
volumes:
- mg_lib:/var/lib/memgraph
- mg_log:/var/log/memgraph
- mg_etc:/etc/memgraph
ports:
- "7687:7687"
- "3000:3000"
- "7444:7444"
neo4j:
container_name: db
image: neo4j:latest
environment:
NEO4J_initial_dbms_default__database: memgraph
NEO4J_AUTH: neo4j/password
restart: unless-stopped
volumes:
- neo4j-data:/data
- neo4j-logs:/logs
ports:
- "7687:7687"
- "7474:7474"
memgraph-spring-data-demo:
container_name: memgraph-spring-data-demo
image: memgraph-spring-data-demo:latest
environment:
MEMGRAPH_URL: bolt://db:7687
MEMGRAPH_USER: neo4j
MEMGRAPH_PASSWORD: password
MEMGRAPH_DATABASE: memgraph
restart: no
ports:
- "8080:8080"
volumes:
neo4j-data:
neo4j-logs:
mg_lib:
mg_log:
mg_etc: