apache / apache/iotdb

[Feature request] 希望新增1.0.0版本的docker-iotdb-grafana-plugin的docker-compose.yml

オープン
#8,873 コメント 1 件 リアクション 1 件 担当者 1 名 @xingtanzjr が担当を希望しています GitHub で見る
主要言語
Java
スター
6.4k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
115

説明

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.

### Motivation

我在做部署时发现,现在的线上方案缺少1.0.0以上版本的iotdb-grafana-plugin的docker-compse方案进行测试

### Solution

我这边通过使用官方网站提供的[apache-iotdb-1.0.0-grafana-plugin-bin](https://dlcdn.apache.org/iotdb/1.0.0/apache-iotdb-1.0.0-grafana-plugin-bin.zip)下载后,写成对应的docker-compose进行使用
```
# docker-compose-1c1d.yml
version: "3"
services:
iotdb-service:
image: apache/iotdb:1.0.0-standalone
hostname: iotdb-service
container_name: iotdb-service
ports:
- "6667:6667"
- "18080:18080"
environment:
- enable_rest_service=true
- rest_service_port=18080
- cn_internal_address=iotdb-service
- cn_internal_port=22277
- cn_target_config_node_list=iotdb-service:22277
- dn_rpc_address=iotdb-service
- dn_internal_address=iotdb-service
- dn_target_config_node_list=iotdb-service:22277
networks:
iotdb:
ipv4_address: 172.40.0.2
grafana:
image: grafana/grafana:8.2.5
ports:
- 3000:3000
volumes:
- [iotdb-grafana-plugin-bin-path]:/usr/share/grafana/plugins-bundled/internal/iotdb-datasource
networks:
iotdb:
ipv4_address: 172.40.0.3
networks:
iotdb:
driver: bridge
ipam:
config:
- subnet: 172.40.0.0/16
gateway: 172.40.0.1
```

### Alternatives

_No response_

### Are you willing to submit a PR?

- [X] I'm willing to submit a PR!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。