/
docker-compose.yml
167 lines (136 loc) · 4.78 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
version: '3'
networks:
skyshard:
driver: bridge
services:
proxy:
image: neo4j:4.1.1-enterprise
hostname: proxy
container_name: proxy
ports:
- "7474:7474"
- "7687:7687"
environment:
NEO4J_AUTH: neo4j/neo
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
NEO4J_fabric_database_name: fabric
NEO4J_fabric_graph_0_name: january2020
NEO4J_fabric_graph_0_uri: neo4j://january:7687
# NEO4J_fabric_graph_0_database: january
NEO4J_fabric_graph_1_name: february2020
NEO4J_fabric_graph_1_uri: neo4j://february:7687
# NEO4J_fabric_graph_1_database: february
NEO4J_fabric_graph_2_name: march2020
NEO4J_fabric_graph_2_uri: neo4j://march-core-1:7687,neo4j://march-core-2:7687,neo4j://march-core-3:7687
# NEO4J_fabric_graph_2_uri: neo4j://march:7687
# NEO4J_fabric_graph_2_database: march
NEO4J_fabric_graph_3_name: airports
NEO4J_fabric_graph_3_uri: neo4j://airports:7687
# NEO4J_fabric_graph_2_database: airports
networks:
- skyshard
january:
image: neo4j:4.1.1-enterprise
hostname: "january"
container_name: january
ports:
- "17474:7474"
- "17687:7687"
environment:
NEO4J_AUTH: neo4j/neo
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
# NEO4J_dbms_default__database: "january"
NEO4J_dbms_connector_bolt_advertised__address: "january:7687"
volumes:
- "./cypher:/cypher"
networks:
- skyshard
february:
image: neo4j:4.1.1-enterprise
hostname: "february"
container_name: february
ports:
- "27474:7474"
- "27687:7687"
environment:
NEO4J_AUTH: neo4j/neo
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
# NEO4J_dbms_default__database: "february"
NEO4J_dbms_connector_bolt_advertised__address: "february:7687"
volumes:
- "./cypher:/cypher"
networks:
- skyshard
march-core-1:
image: neo4j:4.1.1-enterprise
hostname: "march-core-1"
container_name: march-core-1
ports:
- "37474:7474"
- "37687:7687"
environment:
NEO4J_AUTH: neo4j/neo
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
# NEO4J_dbms_default__database: "march"
NEO4J_dbms_mode: CORE
NEO4J_causal__clustering_initial__discovery__members: "march-core-1:5000,march-core-2:5000,march-core-3:5000"
NEO4J_causal__clustering_expected_core_cluster_size: "3"
NEO4J_dbms_connector_bolt_advertised__address: "march-core-1:7687"
volumes:
- "./cypher:/cypher"
networks:
- skyshard
march-core-2:
image: neo4j:4.1.1-enterprise
hostname: "march-core-2"
container_name: march-core-2
ports:
- "47474:7474"
- "47687:7687"
environment:
NEO4J_AUTH: neo4j/neo
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
# NEO4J_dbms_default__database: "march"
NEO4J_dbms_mode: CORE
NEO4J_causal__clustering_initial__discovery__members: "march-core-1:5000,march-core-2:5000,march-core-3:5000"
NEO4J_causal__clustering_expected_core_cluster_size: "3"
NEO4J_dbms_connector_bolt_advertised__address: "march-core-2:7687"
volumes:
- "./cypher:/cypher"
networks:
- skyshard
march-core-3:
image: neo4j:4.1.1-enterprise
hostname: "march-core-3"
container_name: march-core-3
ports:
- "57474:7474"
- "57687:7687"
environment:
NEO4J_AUTH: neo4j/neo
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
# NEO4J_dbms_default__database: "march"
NEO4J_dbms_mode: CORE
NEO4J_causal__clustering_initial__discovery__members: "march-core-1:5000,march-core-2:5000,march-core-3:5000"
NEO4J_causal__clustering_expected_core_cluster_size: "3"
NEO4J_dbms_connector_bolt_advertised__address: "march-core-3:7687"
volumes:
- "./cypher:/cypher"
networks:
- skyshard
airports:
image: neo4j:4.1.1-enterprise
hostname: "airports"
container_name: airports
ports:
- "65534:7474"
- "65535:7687"
environment:
NEO4J_AUTH: neo4j/neo
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
# NEO4J_dbms_default__database: "january"
NEO4J_dbms_connector_bolt_advertised__address: "airports:7687"
volumes:
- "./cypher:/cypher"
networks:
- skyshard