@@ -56,6 +56,7 @@ services:
5656 image : ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION}
5757 restart : on-failure
5858 command :
59+ - --
5960 - " --role=apiserver"
6061 - " --endpoint=openmldb-api:9527"
6162 - " --zk_cluster=openmldb-zk:2181"
@@ -76,11 +77,13 @@ services:
7677 container_name : openmldb_ns1
7778 image : ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION}
7879 command :
80+ - --
7981 - " --role=nameserver"
8082 - " --endpoint=openmldb-ns1:9527"
8183 - " --zk_cluster=openmldb-zk:2181"
8284 - " --zk_root_path=/openmldb"
8385 depends_on :
86+ - openmldb-ns2
8487 - openmldb-tablet1
8588 - openmldb-tablet2
8689 - openmldb-tablet3
@@ -89,6 +92,7 @@ services:
8992 container_name : openmldb_ns2
9093 image : ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION}
9194 command :
95+ - --
9296 - " --role=nameserver"
9397 - " --endpoint=openmldb-ns2:9527"
9498 - " --zk_cluster=openmldb-zk:2181"
@@ -102,28 +106,33 @@ services:
102106 container_name : openmldb_tablet1
103107 image : ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION}
104108 command :
109+ - --
105110 - " --role=tablet"
106111 - " --endpoint=openmldb-tablet1:9527"
107112 - " --zk_cluster=openmldb-zk:2181"
108113 - " --zk_root_path=/openmldb"
109114 depends_on :
110115 - openmldb-zk
116+ - openmldb-tablet2
111117
112118 openmldb-tablet2 :
113119 container_name : openmldb_tablet2
114120 image : ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION}
115121 command :
122+ - --
116123 - " --role=tablet"
117124 - " --endpoint=openmldb-tablet2:9527"
118125 - " --zk_cluster=openmldb-zk:2181"
119126 - " --zk_root_path=/openmldb"
120127 depends_on :
121128 - openmldb-zk
129+ - openmldb-tablet3
122130
123131 openmldb-tablet3 :
124132 container_name : openmldb_tablet3
125133 image : ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION}
126134 command :
135+ - --
127136 - " --role=tablet"
128137 - " --endpoint=openmldb-tablet3:9527"
129138 - " --zk_cluster=openmldb-zk:2181"
0 commit comments