This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-client-csharp.git


The following commit(s) were added to refs/heads/main by this push:
     new 1d5ab6c  Update docker-compose.yml (#7)
1d5ab6c is described below

commit 1d5ab6ce51e7498cca9d12852626086a8aa2d230
Author: Haonan <[email protected]>
AuthorDate: Tue Jul 2 15:33:13 2024 +0800

    Update docker-compose.yml (#7)
---
 .github/workflows/e2e.yml |  5 +----
 docker-compose.yml        | 17 +++++++++--------
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 11acf98..6753b6b 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -10,10 +10,7 @@ jobs:
 
   build:
     name: e2e test
-    runs-on: ${{ matrix.os }}
-    strategy:
-      matrix:
-        os: [ubuntu-latest]
+    runs-on: ubuntu-latest
     steps:
 
     - name: Check out code into the CSharp module directory
diff --git a/docker-compose.yml b/docker-compose.yml
index 786cf10..fa0e9ec 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -16,16 +16,16 @@ services:
           ipv4_address: 172.18.0.2
       
   iotdb:
-   image: apache/iotdb:1.0.0-datanode
+   image: apache/iotdb:1.3.2-datanode
    restart: always
    container_name: iotdb-dn-1
    depends_on:
       iotdb-confignode-1:
         condition: service_healthy
    healthcheck:
-      test: ["CMD", "ls", "/iotdb/data"]
-      interval: 3s
-      timeout: 5s
+      test: ["CMD", "ls", "/iotdb/data/datanode/system"]
+      interval: 10s
+      timeout: 60s
       retries: 30
       start_period: 30s
    ports:
@@ -36,10 +36,10 @@ services:
    environment:
          - dn_rpc_address=iotdb
          - dn_internal_address=iotdb
-         - dn_target_config_node_list=iotdb-confignode-1:22277
+         - dn_seed_config_node=iotdb-confignode-1:22277
   
   iotdb-confignode-1:
-   image: apache/iotdb:1.0.0-confignode
+   image: apache/iotdb:1.3.2-confignode
    restart: always
    container_name: iotdb-cn-1
    healthcheck:
@@ -53,9 +53,10 @@ services:
           ipv4_address: 172.18.0.4
    environment:
          - cn_internal_address=iotdb-confignode-1
-         - cn_target_config_node_list=iotdb-confignode-1:22277
+         - cn_internal_port=22277
+         - cn_seed_config_node=iotdb-confignode-1:22277
 
 
 networks: 
     iotdb-network:
-        external: true
\ No newline at end of file
+        external: true

Reply via email to