diff --git a/.env b/.env index 55d6649..417f6a5 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ -OPENMLDB_VERSION=0.8.2 +OPENMLDB_VERSION=0.8.3 ENV_TYPE=src diff --git a/docker-compose.yml b/docker-compose.yml index 7159856..d18eabd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -56,6 +56,7 @@ services: image: ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION} restart: on-failure command: + - -- - "--role=apiserver" - "--endpoint=openmldb-api:9527" - "--zk_cluster=openmldb-zk:2181" @@ -76,11 +77,13 @@ services: container_name: openmldb_ns1 image: ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION} command: + - -- - "--role=nameserver" - "--endpoint=openmldb-ns1:9527" - "--zk_cluster=openmldb-zk:2181" - "--zk_root_path=/openmldb" depends_on: + - openmldb-ns2 - openmldb-tablet1 - openmldb-tablet2 - openmldb-tablet3 @@ -89,6 +92,7 @@ services: container_name: openmldb_ns2 image: ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION} command: + - -- - "--role=nameserver" - "--endpoint=openmldb-ns2:9527" - "--zk_cluster=openmldb-zk:2181" @@ -102,28 +106,33 @@ services: container_name: openmldb_tablet1 image: ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION} command: + - -- - "--role=tablet" - "--endpoint=openmldb-tablet1:9527" - "--zk_cluster=openmldb-zk:2181" - "--zk_root_path=/openmldb" depends_on: - openmldb-zk + - openmldb-tablet2 openmldb-tablet2: container_name: openmldb_tablet2 image: ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION} command: + - -- - "--role=tablet" - "--endpoint=openmldb-tablet2:9527" - "--zk_cluster=openmldb-zk:2181" - "--zk_root_path=/openmldb" depends_on: - openmldb-zk + - openmldb-tablet3 openmldb-tablet3: container_name: openmldb_tablet3 image: ghcr.io/aceforeverd/openmldb-server:${OPENMLDB_VERSION} command: + - -- - "--role=tablet" - "--endpoint=openmldb-tablet3:9527" - "--zk_cluster=openmldb-zk:2181" diff --git a/prod.env b/prod.env index 41d05ca..f31c8f8 100644 --- a/prod.env +++ b/prod.env @@ -1,2 +1,2 @@ -OPENMLDB_VERSION=0.8.2 +OPENMLDB_VERSION=0.8.3 ENV_TYPE=prod