@@ -6,16 +6,22 @@ services:
66 restart : on-failure:0
77 ports :
88 - " 8087:8080"
9+ - " 50058:50051"
910 environment :
10- CONTEXTIONARY_URL : contextionary:9999
1111 QUERY_DEFAULTS_LIMIT : 20
1212 AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED : ' true'
1313 PERSISTENCE_DATA_PATH : " ./weaviate-node-1"
14- DEFAULT_VECTORIZER_MODULE : text2vec-contextionary
15- ENABLE_MODULES : text2vec-contextionary
14+ CLUSTER_HOSTNAME : " node1"
1615 CLUSTER_GOSSIP_BIND_PORT : " 7110"
1716 CLUSTER_DATA_BIND_PORT : " 7111"
17+ RAFT_PORT : ' 8300'
18+ RAFT_INTERNAL_RPC_PORT : " 8301"
19+ RAFT_JOIN : " node1:8300,node2:8300,node3:8300"
20+ RAFT_BOOTSTRAP_EXPECT : " 3"
1821 DISABLE_TELEMETRY : ' true'
22+ CONTEXTIONARY_URL : contextionary:9999
23+ DEFAULT_VECTORIZER_MODULE : text2vec-contextionary
24+ ENABLE_MODULES : text2vec-contextionary
1925
2026 weaviate-node-2 :
2127 init : true
@@ -29,19 +35,55 @@ services:
2935 image : semitechnologies/weaviate:${WEAVIATE_VERSION}
3036 ports :
3137 - 8088:8080
32- - 6061:6060
38+ - " 50059:50051 "
3339 restart : on-failure:0
3440 environment :
35- CONTEXTIONARY_URL : contextionary:9999
3641 LOG_LEVEL : ' debug'
3742 QUERY_DEFAULTS_LIMIT : 20
3843 AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED : ' true'
3944 PERSISTENCE_DATA_PATH : ' ./weaviate-node-2'
45+ CLUSTER_HOSTNAME : ' node2'
46+ CLUSTER_GOSSIP_BIND_PORT : ' 7110'
47+ CLUSTER_DATA_BIND_PORT : ' 7111'
48+ CLUSTER_JOIN : ' weaviate-node-1:7110'
49+ RAFT_PORT : ' 8300'
50+ RAFT_INTERNAL_RPC_PORT : " 8301"
51+ RAFT_JOIN : " node1:8300,node2:8300,node3:8300"
52+ RAFT_BOOTSTRAP_EXPECT : " 3"
53+ DISABLE_TELEMETRY : ' true'
54+ CONTEXTIONARY_URL : contextionary:9999
4055 DEFAULT_VECTORIZER_MODULE : text2vec-contextionary
4156 ENABLE_MODULES : text2vec-contextionary
42- CLUSTER_HOSTNAME : ' node2'
43- CLUSTER_GOSSIP_BIND_PORT : ' 7112'
44- CLUSTER_DATA_BIND_PORT : ' 7113'
57+
58+ weaviate-node-3 :
59+ init : true
60+ command :
61+ - --host
62+ - 0.0.0.0
63+ - --port
64+ - ' 8080'
65+ - --scheme
66+ - http
67+ image : semitechnologies/weaviate:${WEAVIATE_VERSION}
68+ ports :
69+ - 8089:8080
70+ - " 50060:50051"
71+ restart : on-failure:0
72+ environment :
73+ LOG_LEVEL : ' debug'
74+ QUERY_DEFAULTS_LIMIT : 20
75+ AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED : ' true'
76+ PERSISTENCE_DATA_PATH : ' ./weaviate-node-2'
77+ CLUSTER_HOSTNAME : ' node3'
78+ CLUSTER_GOSSIP_BIND_PORT : ' 7110'
79+ CLUSTER_DATA_BIND_PORT : ' 7111'
4580 CLUSTER_JOIN : ' weaviate-node-1:7110'
81+ RAFT_PORT : ' 8300'
82+ RAFT_INTERNAL_RPC_PORT : " 8301"
83+ RAFT_JOIN : " node1:8300,node2:8300,node3:8300"
84+ RAFT_BOOTSTRAP_EXPECT : " 3"
4685 DISABLE_TELEMETRY : ' true'
47- ...
86+ CONTEXTIONARY_URL : contextionary:9999
87+ DEFAULT_VECTORIZER_MODULE : text2vec-contextionary
88+ ENABLE_MODULES : text2vec-contextionary
89+ ...
0 commit comments