Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker-compose.yml #7

Merged
merged 7 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 9 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
external: true
Loading