-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
50 lines (48 loc) · 1.1 KB
/
docker-compose.yaml
File metadata and controls
50 lines (48 loc) · 1.1 KB
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
version: "3.8"
services:
stakgraph:
image: standalone:latest
# image: ghcr.io/stakwork/stakgraph-standalone:latest
container_name: stakgraph
ports:
- 7799:7799
environment:
- PORT=7799
- RUST_LOG=debug
- RUST_BACKTRACE=1
- NEO4J_URI=bolt://neo4j:7687
- NEO4J_USER=neo4j
- NEO4J_PASSWORD=testtest
neo4j:
image: sphinxlightning/sphinx-neo4j:latest
container_name: neo4j
volumes:
- ./.neo4j/data:/data:rw
- ./.neo4j/logs:/logs:rw
- ./.neo4j/plugins:/plugins:rw
- ./.neo4j/tmp/import:/import
- ./conf:/conf/
ports:
- 7474:7474
- 7687:7687
environment:
- NEO4J_AUTH=neo4j/testtest
command: >
/bin/bash -c "
cp -R /var/lib/neo4j/plugins/* /plugins &&
/startup/docker-entrypoint.sh neo4j
"
healthcheck:
test:
[
"CMD",
"/var/lib/neo4j/bin/cypher-shell",
"-u",
"neo4j",
"-p",
"testtest",
"MATCH (n) RETURN n LIMIT 1",
]
interval: 10s
timeout: 10s
retries: 20