This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new a1f25559d5 chore: update docker-compose of IoTDB (#2811)
a1f25559d5 is described below
commit a1f25559d564ad6fe90a995c0b714e085b83c33f
Author: Tim <[email protected]>
AuthorDate: Fri May 3 14:37:30 2024 +0200
chore: update docker-compose of IoTDB (#2811)
* chore: update docker-compose of iotdb
* add volume mapping
* add short comment
---
.../deploy/standalone/iotdb/docker-compose.dev.yml | 3 +-
.../cli/deploy/standalone/iotdb/docker-compose.yml | 34 +++++++++++++++-------
2 files changed, 24 insertions(+), 13 deletions(-)
diff --git a/installer/cli/deploy/standalone/iotdb/docker-compose.dev.yml
b/installer/cli/deploy/standalone/iotdb/docker-compose.dev.yml
index 8cfad035c3..caac1831b0 100644
--- a/installer/cli/deploy/standalone/iotdb/docker-compose.dev.yml
+++ b/installer/cli/deploy/standalone/iotdb/docker-compose.dev.yml
@@ -16,8 +16,7 @@
version: "3.4"
services:
iotdb:
- # 0.13.3 is the only recommended production ready version for edge side
(standalone) deployment
- image: apache/iotdb:0.13.3-node
+ image: apache/iotdb:1.3.0-standalone
ports:
# rpc port
- "6667:6667"
diff --git a/installer/cli/deploy/standalone/iotdb/docker-compose.yml
b/installer/cli/deploy/standalone/iotdb/docker-compose.yml
index f45807b9d6..63c4012784 100644
--- a/installer/cli/deploy/standalone/iotdb/docker-compose.yml
+++ b/installer/cli/deploy/standalone/iotdb/docker-compose.yml
@@ -16,20 +16,32 @@
version: "3.4"
services:
iotdb:
- # 0.13.3 is the only recommended production ready version for edge side
(standalone) deployment
- image: apache/iotdb:0.13.3-node
+ image: apache/iotdb:1.3.0-standalone
+ ports:
+ - "6667:6667"
+ environment:
+ - cn_internal_address=iotdb
+ - cn_internal_port=10710
+ - cn_consensus_port=10720
+ - cn_seed_config_node=iotdb:10710
+ - dn_rpc_address=iotdb
+ - dn_internal_address=iotdb
+ - dn_rpc_port=6667
+ - dn_mpp_data_exchange_port=10740
+ - dn_schema_region_consensus_port=10750
+ - dn_data_region_consensus_port=10760
+ - dn_seed_config_node=iotdb:10710
volumes:
- - iotdb:/iotdb
- logging:
- driver: "json-file"
- options:
- max-size: "1m"
- max-file: "1"
- networks:
- spnet:
+ - data:/iotdb/data
+ - logs:/iotdb/logs
volumes:
- iotdb:
+ data:
+ logs:
+
+# If you want to influence iotdb's logging behavior, e.g., to adapt the log
retention
+# then you need to adapt the log configurations and map them into the container
+# see:
https://stackoverflow.com/questions/78177657/for-apache-iotdb-service-deployed-by-docker-how-to-modify-to-only-print-specifi
networks:
spnet: