Skip to content

Commit 1d5ab6c

Browse files
authored
Update docker-compose.yml (#7)
1 parent 73fabc5 commit 1d5ab6c

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ jobs:
1010

1111
build:
1212
name: e2e test
13-
runs-on: ${{ matrix.os }}
14-
strategy:
15-
matrix:
16-
os: [ubuntu-latest]
13+
runs-on: ubuntu-latest
1714
steps:
1815

1916
- name: Check out code into the CSharp module directory

docker-compose.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ services:
1616
ipv4_address: 172.18.0.2
1717

1818
iotdb:
19-
image: apache/iotdb:1.0.0-datanode
19+
image: apache/iotdb:1.3.2-datanode
2020
restart: always
2121
container_name: iotdb-dn-1
2222
depends_on:
2323
iotdb-confignode-1:
2424
condition: service_healthy
2525
healthcheck:
26-
test: ["CMD", "ls", "/iotdb/data"]
27-
interval: 3s
28-
timeout: 5s
26+
test: ["CMD", "ls", "/iotdb/data/datanode/system"]
27+
interval: 10s
28+
timeout: 60s
2929
retries: 30
3030
start_period: 30s
3131
ports:
@@ -36,10 +36,10 @@ services:
3636
environment:
3737
- dn_rpc_address=iotdb
3838
- dn_internal_address=iotdb
39-
- dn_target_config_node_list=iotdb-confignode-1:22277
39+
- dn_seed_config_node=iotdb-confignode-1:22277
4040

4141
iotdb-confignode-1:
42-
image: apache/iotdb:1.0.0-confignode
42+
image: apache/iotdb:1.3.2-confignode
4343
restart: always
4444
container_name: iotdb-cn-1
4545
healthcheck:
@@ -53,9 +53,10 @@ services:
5353
ipv4_address: 172.18.0.4
5454
environment:
5555
- cn_internal_address=iotdb-confignode-1
56-
- cn_target_config_node_list=iotdb-confignode-1:22277
56+
- cn_internal_port=22277
57+
- cn_seed_config_node=iotdb-confignode-1:22277
5758

5859

5960
networks:
6061
iotdb-network:
61-
external: true
62+
external: true

0 commit comments

Comments
 (0)