mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-28 19:36:14 +08:00
feat: 新增 InfluxDB (#1919)
This commit is contained in:
parent
95f5e161cd
commit
c8c9d4209c
45
apps/influxdb/2.7.9/data.yml
Normal file
45
apps/influxdb/2.7.9/data.yml
Normal file
@ -0,0 +1,45 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 8086
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: influxdb
|
||||
edit: true
|
||||
envKey: DOCKER_INFLUXDB_INIT_USERNAME
|
||||
labelEn: User
|
||||
labelZh: 用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: influxdb
|
||||
edit: true
|
||||
envKey: DOCKER_INFLUXDB_INIT_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: influxdb
|
||||
edit: true
|
||||
envKey: DOCKER_INFLUXDB_INIT_ORG
|
||||
labelEn: Init Organization
|
||||
labelZh: 初始化组织
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: influxdb
|
||||
edit: true
|
||||
envKey: DOCKER_INFLUXDB_INIT_BUCKET
|
||||
labelEn: Init Bucket
|
||||
labelZh: 初始化存储桶
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
23
apps/influxdb/2.7.9/docker-compose.yml
Normal file
23
apps/influxdb/2.7.9/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
services:
|
||||
influxdb:
|
||||
image: influxdb:2.7.9
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8086
|
||||
volumes:
|
||||
- ./data/data:/var/lib/influxdb2
|
||||
- ./data/config:/etc/influxdb2
|
||||
environment:
|
||||
- DOCKER_INFLUXDB_INIT_MODE=setup
|
||||
- DOCKER_INFLUXDB_INIT_USERNAME=${DOCKER_INFLUXDB_INIT_USERNAME}
|
||||
- DOCKER_INFLUXDB_INIT_PASSWORD=${DOCKER_INFLUXDB_INIT_PASSWORD}
|
||||
- DOCKER_INFLUXDB_INIT_ORG=${DOCKER_INFLUXDB_INIT_ORG}
|
||||
- DOCKER_INFLUXDB_INIT_BUCKET=${DOCKER_INFLUXDB_INIT_BUCKET}
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
11
apps/influxdb/README.md
Normal file
11
apps/influxdb/README.md
Normal file
@ -0,0 +1,11 @@
|
||||
# InfluxDB
|
||||
|
||||
**InfluxDB** 是一个开源的时间序列数据库(TSDB),专为高性能的时间序列数据存储和查询设计。它通常用于处理监控数据、度量数据、事件日志等类型的时间序列数据。
|
||||
|
||||
## 主要特征
|
||||
|
||||
- **高性能**:优化了高吞吐量的数据写入和快速查询操作,适合处理大量时间序列数据。
|
||||
- **时间序列数据支持**:专为时间序列数据设计,提供高效的存储、查询和分析功能,支持时间函数和操作。
|
||||
- **灵活的数据模型**:使用度量(measurement)、字段(field)和标签(tag)进行数据存储,支持复杂的查询和过滤。
|
||||
- **SQL 类似查询语言**:提供 **InfluxQL** 或 **Flux** 查询语言,具有类似 SQL 的语法,用于高效的数据查询和操作。
|
||||
- **高可用性和横向扩展**:支持分布式架构和数据复制,增强系统的可靠性和伸缩性,适合大规模数据处理。
|
19
apps/influxdb/data.yml
Executable file
19
apps/influxdb/data.yml
Executable file
@ -0,0 +1,19 @@
|
||||
name: InfluxDB
|
||||
tags:
|
||||
- 数据库
|
||||
title: 用于指标、事件和实时分析的可扩展数据存储
|
||||
description: 用于指标、事件和实时分析的可扩展数据存储
|
||||
additionalProperties:
|
||||
key: influxdb
|
||||
name: InfluxDB
|
||||
tags:
|
||||
- Database
|
||||
shortDescZh: 用于指标、事件和实时分析的可扩展数据存储
|
||||
shortDescEn: Scalable datastore for metrics, events, and real-time analytics
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://influxdata.com/
|
||||
github: https://github.com/influxdata/influxdb
|
||||
document: https://docs.influxdata.com/
|
BIN
apps/influxdb/logo.png
Normal file
BIN
apps/influxdb/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.8 KiB |
Loading…
Reference in New Issue
Block a user