Skip to content

Commit fefff92

Browse files
committed
simplified connector listen addresses
1 parent 7998555 commit fefff92

File tree

1 file changed

+32
-33
lines changed

1 file changed

+32
-33
lines changed

.github/workflows/full-test.yml

+32-33
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,22 @@ jobs:
3131
services:
3232
neo4j:
3333
image: neo4j:4.3
34-
env:
35-
NEO4J_AUTH: neo4j/test
36-
NEO4JLABS_PLUGINS: '["apoc"]'
3734
options: >-
3835
--health-cmd "wget http://localhost:7474 || exit 1"
39-
--health-interval 30s
40-
--health-timeout 10s
41-
--health-retries 5
4236
ports:
4337
- 7687:7687
4438
- 7474:7474
39+
env:
40+
NEO4J_AUTH: neo4j/test
41+
NEO4JLABS_PLUGINS: '["apoc"]'
4542

4643
core1:
4744
image: neo4j:4.3-enterprise
45+
options: >-
46+
--health-cmd "wget http://localhost:7475 || exit 1"
47+
ports:
48+
- 7688:7688
49+
- 7475:7475
4850
env:
4951
NEO4J_ACCEPT_LICENSE_AGREEMENT: yes
5052
NEO4JLABS_PLUGINS: '["apoc"]'
@@ -57,15 +59,16 @@ jobs:
5759
NEO4J_causal__clustering_discovery__listen__address: 0.0.0.0:5000
5860
NEO4J_causal__clustering_transaction__listen__address: 0.0.0.0:6000
5961
NEO4J_causal__clustering_raft__listen__address: 0.0.0.0:7000
60-
NEO4J_dbms_connector_bolt_advertised__address: localhost:17687
61-
NEO4J_dbms_connector_http_advertised__address: localhost:17474
62-
options: >-
63-
--health-cmd "wget http://localhost:7474 || exit 1"
64-
ports:
65-
- 17687:7687
66-
- 17474:7474
62+
NEO4J_dbms_connector_http_listen__address: 0.0.0.0:7475
63+
NEO4J_dbms_connector_bolt_listen__address: 0.0.0.0:7688
64+
6765
core2:
6866
image: neo4j:4.3-enterprise
67+
options: >-
68+
--health-cmd "wget http://localhost:7476 || exit 1"
69+
ports:
70+
- 7689:7689
71+
- 7476:7476
6972
env:
7073
NEO4J_ACCEPT_LICENSE_AGREEMENT: yes
7174
NEO4JLABS_PLUGINS: '["apoc"]'
@@ -78,14 +81,16 @@ jobs:
7881
NEO4J_causal__clustering_discovery__listen__address: 0.0.0.0:5000
7982
NEO4J_causal__clustering_transaction__listen__address: 0.0.0.0:6000
8083
NEO4J_causal__clustering_raft__listen__address: 0.0.0.0:7000
81-
NEO4J_dbms_connector_bolt_advertised__address: localhost:27687
82-
NEO4J_dbms_connector_http_advertised__address: localhost:27474
83-
ports:
84-
- 27687:7687
85-
- 27474:7474
84+
NEO4J_dbms_connector_http_listen__address: 0.0.0.0:7476
85+
NEO4J_dbms_connector_bolt_listen__address: 0.0.0.0:7689
8686

8787
core3:
8888
image: neo4j:4.3-enterprise
89+
options: >-
90+
--health-cmd "wget http://localhost:7477 || exit 1"
91+
ports:
92+
- 7690:7690
93+
- 7477:7477
8994
env:
9095
NEO4J_ACCEPT_LICENSE_AGREEMENT: yes
9196
NEO4JLABS_PLUGINS: '["apoc"]'
@@ -98,16 +103,16 @@ jobs:
98103
NEO4J_causal__clustering_discovery__listen__address: 0.0.0.0:5000
99104
NEO4J_causal__clustering_transaction__listen__address: 0.0.0.0:6000
100105
NEO4J_causal__clustering_raft__listen__address: 0.0.0.0:7000
101-
NEO4J_dbms_connector_bolt_advertised__address: localhost:37687
102-
NEO4J_dbms_connector_http_advertised__address: localhost:37474
103-
options: >-
104-
--health-cmd "wget http://localhost:7474 || exit 1"
105-
ports:
106-
- 37687:7687
107-
- 37474:7474
106+
NEO4J_dbms_connector_http_listen__address: 0.0.0.0:7477
107+
NEO4J_dbms_connector_bolt_listen__address: 0.0.0.0:7690
108108

109109
readreplica1:
110110
image: neo4j:4.3-enterprise
111+
options: >-
112+
--health-cmd "wget http://localhost:7478 || exit 1"
113+
ports:
114+
- 7691:7691
115+
- 7478:7478
111116
env:
112117
NEO4J_ACCEPT_LICENSE_AGREEMENT: yes
113118
NEO4JLABS_PLUGINS: '["apoc"]'
@@ -120,11 +125,5 @@ jobs:
120125
NEO4J_causal__clustering_discovery__listen__address: 0.0.0.0:5000
121126
NEO4J_causal__clustering_transaction__listen__address: 0.0.0.0:6000
122127
NEO4J_causal__clustering_raft__listen__address: 0.0.0.0:7000
123-
NEO4J_dbms_connector_bolt_advertised__address: localhost:47687
124-
NEO4J_dbms_connector_http_advertised__address: localhost:47474
125-
options: >-
126-
--health-cmd "wget http://localhost:7474 || exit 1"
127-
ports:
128-
- 47687:7687
129-
- 47474:7474
130-
128+
NEO4J_dbms_connector_http_listen__address: 0.0.0.0:7478
129+
NEO4J_dbms_connector_bolt_listen__address: 0.0.0.0:7691

0 commit comments

Comments
 (0)