From 42e1f305b56917addd40fc9f80c2316628e5a593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=91=9E=E6=96=8C?= Date: Thu, 2 Nov 2023 16:33:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0ClickHouse=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=20(#499)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 增加ClickHouse数据库 * feat: 增加Kafka中间件 --- apps/clickhouse/23.9.1-alpine/data.yml | 16 ++++++++++ .../23.9.1-alpine/docker-compose.yml | 23 ++++++++++++++ apps/clickhouse/README.md | 21 ++++++++++++ apps/clickhouse/data.yml | 19 +++++++++++ apps/clickhouse/logo.png | Bin 0 -> 321 bytes apps/kafka/3.6.0/data.yml | 10 ++++++ apps/kafka/3.6.0/docker-compose.yml | 30 ++++++++++++++++++ apps/kafka/README.md | 9 ++++++ apps/kafka/data.yml | 19 +++++++++++ apps/kafka/logo.png | Bin 0 -> 3882 bytes 10 files changed, 147 insertions(+) create mode 100644 apps/clickhouse/23.9.1-alpine/data.yml create mode 100644 apps/clickhouse/23.9.1-alpine/docker-compose.yml create mode 100644 apps/clickhouse/README.md create mode 100644 apps/clickhouse/data.yml create mode 100644 apps/clickhouse/logo.png create mode 100644 apps/kafka/3.6.0/data.yml create mode 100644 apps/kafka/3.6.0/docker-compose.yml create mode 100644 apps/kafka/README.md create mode 100644 apps/kafka/data.yml create mode 100644 apps/kafka/logo.png diff --git a/apps/clickhouse/23.9.1-alpine/data.yml b/apps/clickhouse/23.9.1-alpine/data.yml new file mode 100644 index 00000000..ac5bd9c4 --- /dev/null +++ b/apps/clickhouse/23.9.1-alpine/data.yml @@ -0,0 +1,16 @@ +additionalProperties: + formFields: + - default: 19000 + envKey: PANEL_APP_PORT_TCP + labelEn: Port + labelZh: TCP 端口 + required: true + rule: paramPort + type: number + - default: 18123 + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: API 端口 + required: true + rule: paramPort + type: number diff --git a/apps/clickhouse/23.9.1-alpine/docker-compose.yml b/apps/clickhouse/23.9.1-alpine/docker-compose.yml new file mode 100644 index 00000000..880b5b9a --- /dev/null +++ b/apps/clickhouse/23.9.1-alpine/docker-compose.yml @@ -0,0 +1,23 @@ +version: '3' +services: + clickhouse: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8123" + - "${PANEL_APP_PORT_TCP}:9000" + volumes: + - ./clickhouse:/var/lib/clickhouse/ + - ./clickhouse-server:/var/log/clickhouse-server/ + image: clickhouse/clickhouse-server:23.9.1-alpine + ulimits: + nofile: + soft: 262144 + hard: 262144 + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true diff --git a/apps/clickhouse/README.md b/apps/clickhouse/README.md new file mode 100644 index 00000000..f17e0332 --- /dev/null +++ b/apps/clickhouse/README.md @@ -0,0 +1,21 @@ +# ClickHouse + +ClickHouse 一个用于联机分析(OLAP)的列式数据库管理系统(DBMS) + +## 主要功能: + + +- 真正的列式数据库管理系统 +- 数据压缩 +- 数据的磁盘存储 +- 多核心并行处理 +- 多服务器分布式处理 +- 支持SQL +- 向量引擎 +- 实时的数据更新 +- 索引 +- 适合在线查询 +- 支持近似计算 +- 自适应连接算法 +- 支持数据复制和数据完整性 +- 角色的访问控制 diff --git a/apps/clickhouse/data.yml b/apps/clickhouse/data.yml new file mode 100644 index 00000000..43f193fc --- /dev/null +++ b/apps/clickhouse/data.yml @@ -0,0 +1,19 @@ +name: ClickHouse +tags: + - 数据库 +title: ClickHouse 一个用于联机分析(OLAP)的列式数据库管理系统(DBMS) +type: 数据库 +description: ClickHouse 是一个用于联机分析(OLAP)的列式数据库管理系统(DBMS) +additionalProperties: + key: clickhouse + name: ClickHouse + tags: + - Database + shortDescZh: ClickHouse 一个用于联机分析(OLAP)的列式数据库管理系统(DBMS) + shortDescEn: ClickHouse® is a high-performance, column-oriented SQL database management system (DBMS) for online analytical processing (OLAP). + type: runtime + crossVersionUpdate: false + limit: 0 + website: https://clickhouse.com/ + github: https://github.com/ClickHouse/ClickHouse + document: https://clickhouse.com/docs/zh \ No newline at end of file diff --git a/apps/clickhouse/logo.png b/apps/clickhouse/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..db5c31584cd2cd4e2a07692cd331b174b760847a GIT binary patch literal 321 zcmV-H0lxl;P)+(kruKmF#3Z|1Go()zRvcT4hIYJMIKv~ylkav9lkDmBZYf!60O z$$n(dw$yx%?D;ygFfTAV7cu2oNAZ0R#vTpaA|^eq)9^CbAf_SA%RKDkw4H1MmqdqU;*@BQmlqJCEJjUC(#woO`S9^zEKmrk9?jPIC8lSDmUl zRbQP`r%qMR)@p$Q1qu`>P@o5jhRO+nRwu2^vg|N=uhH+DHf?%{_dU=mqM@u-1DKVR z)fntRtAuhh+p_j)No>zgjJZBF=1*yCewIejhpn|o2ulEV6;KXn636E>josg}$$q@~ zGd)xEo$~G@pidUo0PKL%TKvTxKTRX^U->>S0MAWKOgvet2+q?05}V#;WNw0Hrcu0y-*t0_ zG7Jw7KazmGOn{wXQ(TWfgFNwy0}T+dmf5i}LtyQN*#&T|*lyN*+1fDCn))wYXNmWB zk{tH214eEwwe~0nl$mF3jO>X>S3oBxCm)J8ndl2eTk+gcuh$roxPk=yuAO?j%x=OTg7VjiB-`h~HH7=W?C0Fb>fo; zp79^lgLclAxda+*j2WY{Z>IDeZQCYVr=^ZwW|;TNVoiGS_LGKK4wj|O;dAMfCh3Dm z8X>}Vg-q>Th#rxX^aC%?*DfC9No$`ffH@6~%w--A6M^{r5~vp-z2s<>X;3`ns>!r! zEDaAbY1osJ*xoIsb1TwhznTxU0z#(u^}@$m+O+mrNSA%=8l5QQG5}( zw}T0j81q{4re8zlUr=T`2$XyD)~3eOQ7j0vd@ z69{LgB>ew)owWAqc0O581=J);-X@^#X3$2P8-$eyL_wv2xEgz0HqQjG@O12aF%it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