apache / apache/iotdb

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

Đang mở
#8,873 1 bình luận 1 reaction 1 người được giao Được @xingtanzjr nhận Xem trên GitHub
Ngôn ngữ chính
Java
Star
6.4k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
115

Mô tả

### 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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.