Skip to content

Commit

Permalink
update docker-compose script and fix version (#1447)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 authored Dec 25, 2023
1 parent 059b519 commit dcee171
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 78 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ warehouse:
password: root
# org.dromara.hertzbeat.warehouse.config.IotDbVersion: V_0_13 || V_1_0
# 如果你使用docker-compose-1.0.yaml, 不要忘记修i该version为V_1_0
version: V_0_13
version: V_1_0
query-timeout-in-ms: -1
# 数据存储时间:默认'7776000000'(90天,单位为毫秒,-1代表永不过期)
# data expire time, unit:ms, default '7776000000'(90 days, -1:never expire)
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
- hertzbeat

iotdb:
image: apache/iotdb:0.13.3-node
image: apache/iotdb:1.2.2-standalone
container_name: compose-iotdb
hostname: iotdb
restart: always
Expand Down
4 changes: 2 additions & 2 deletions script/docker-compose/hertzbeat-mysql-tdengine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
Execute the create database command

`taos> show databases;`
`taos> CREATE DATABASE hertzbeat KEEP 90 DAYS 10 BLOCKS 6 UPDATE 1;`

`taos> CREATE DATABASE hertzbeat KEEP 90 DURATION 10 BUFFER 16;`

##### Restart the application

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

`taos> show databases;`

`taos> CREATE DATABASE hertzbeat KEEP 90 DAYS 10 BLOCKS 6 UPDATE 1;`
`taos> CREATE DATABASE hertzbeat KEEP 90 DURATION 10 BUFFER 16;`

##### 重启应用

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,14 @@ services:
- hertzbeat

tdengine:
image: tdengine/tdengine:2.4.0.12
image: tdengine/tdengine:3.2.2.0
container_name: compose-tdengine
hostname: tdengine
restart: always
environment:
TZ: Asia/Shanghai
ports:
- "6030-6049"
- "6030-6049/udp"
- "6041"
volumes:
- ./dbdata/taosdata:/var/lib/taos/
networks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ services:
environment:
TZ: Asia/Shanghai
ports:
- "8428-8428"
- "8428"
volumes:
- ./dbdata/tsdbdata:/victoria-metrics-data
networks:
- hertzbeat

hertzbeat:
image: tancloud/hertzbeat:v1.4.2
image: tancloud/hertzbeat
container_name: compose-hertzbeat
hostname: hertzbeat
restart: always
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ warehouse:
password: root
# org.dromara.hertzbeat.warehouse.config.IotDbVersion: V_0_13 || V_1_0
# 如果你使用docker-compose-1.0.yaml, 不要忘记修i该version为V_1_0
version: V_0_13
version: V_1_0
query-timeout-in-ms: -1
# 数据存储时间:默认'7776000000'(90天,单位为毫秒,-1代表永不过期)
# data expire time, unit:ms, default '7776000000'(90 days, -1:never expire)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
- hertzbeat

iotdb:
image: apache/iotdb:0.13.3-node
image: apache/iotdb:1.2.2-standalone
container_name: compose-iotdb
hostname: iotdb
restart: always
Expand Down

0 comments on commit dcee171

Please sign in to comment.