File tree Expand file tree Collapse file tree 1 file changed +26
-5
lines changed Expand file tree Collapse file tree 1 file changed +26
-5
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,25 @@ services:
31
31
- neo4j
32
32
image : neo4j:4.2
33
33
healthcheck :
34
- test : neo4j status
34
+ test : [ "CMD", "neo4j status" ]
35
+ interval : 30s
36
+ timeout : 10s
37
+ retries : 5
35
38
expose :
36
39
- 7474
37
40
- 7687
41
+ ports :
42
+ - " 7474:7474"
43
+ - " 7687:7687"
38
44
environment :
39
45
- NEO4J_AUTH=neo4j/test
40
46
core1 :
41
47
image : neo4j:4.2-enterprise
42
48
healthcheck :
43
- test : neo4j status
49
+ test : [ "CMD", "neo4j status" ]
50
+ interval : 30s
51
+ timeout : 10s
52
+ retries : 5
44
53
networks :
45
54
- neo4j
46
55
expose :
@@ -49,6 +58,9 @@ services:
49
58
- 5000
50
59
- 6000
51
60
- 7000
61
+ ports :
62
+ - " 7475:7474"
63
+ - " 7688:7687"
52
64
environment :
53
65
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
54
66
- NEO4J_AUTH=neo4j/test
@@ -62,7 +74,10 @@ services:
62
74
core2 :
63
75
image : neo4j:4.2-enterprise
64
76
healthcheck :
65
- test : neo4j status
77
+ test : [ "CMD", "neo4j status" ]
78
+ interval : 30s
79
+ timeout : 10s
80
+ retries : 5
66
81
networks :
67
82
- neo4j
68
83
expose :
@@ -84,7 +99,10 @@ services:
84
99
core3 :
85
100
image : neo4j:4.2-enterprise
86
101
healthcheck :
87
- test : neo4j status
102
+ test : [ "CMD", "neo4j status" ]
103
+ interval : 30s
104
+ timeout : 10s
105
+ retries : 5
88
106
networks :
89
107
- neo4j
90
108
expose :
@@ -106,7 +124,10 @@ services:
106
124
readreplica1 :
107
125
image : neo4j:4.2-enterprise
108
126
healthcheck :
109
- test : neo4j status
127
+ test : [ "CMD", "neo4j status" ]
128
+ interval : 30s
129
+ timeout : 10s
130
+ retries : 5
110
131
networks :
111
132
- neo4j
112
133
expose :
You can’t perform that action at this time.
0 commit comments