mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 09:38:47 +08:00
feat: add Metabase (#449)
This commit is contained in:
parent
2495a25fa4
commit
720844a5ea
40
apps/metabase/0.47.2/data.yml
Executable file
40
apps/metabase/0.47.2/data.yml
Executable file
@ -0,0 +1,40 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
key: mysql
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
required: true
|
||||
type: service
|
||||
- default: metabase
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: metabase
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: User
|
||||
labelZh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: metabase
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: 3000
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 应用端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
30
apps/metabase/0.47.2/docker-compose.yml
Normal file
30
apps/metabase/0.47.2/docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
||||
version: '3'
|
||||
services:
|
||||
metabase:
|
||||
image: metabase/metabase:v0.47.2
|
||||
container_name: ${CONTAINER_NAME}
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:3000
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
volumes:
|
||||
- ./data/metabase:/metabase
|
||||
- ./data/metabase-data:/metabase-data
|
||||
environment:
|
||||
MB_DB_TYPE: mysql
|
||||
MB_DB_DBNAME: ${PANEL_DB_NAME}
|
||||
MB_DB_PORT: 3306
|
||||
MB_DB_USER: ${PANEL_DB_USER}
|
||||
MB_DB_PASS: ${PANEL_DB_USER_PASSWORD}
|
||||
MB_DB_HOST: ${PANEL_DB_HOST}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
healthcheck:
|
||||
test: curl --fail -I http://localhost:3000/api/health || exit 1
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
16
apps/metabase/README.md
Normal file
16
apps/metabase/README.md
Normal file
@ -0,0 +1,16 @@
|
||||
# Metabase
|
||||
|
||||
Metabase 是一款开源的数据分析和可视化工具,它提供了丰富的功能来帮助用户探索、分析和可视化数据。以下是 Metabase 的一些主要功能简介,使用 Markdown 语法进行描述:
|
||||
|
||||
## 主要功能:
|
||||
|
||||
- **数据连接**:Metabase 可以连接多种数据源,包括关系型数据库(如MySQL、PostgreSQL、Oracle)、NoSQL数据库(如MongoDB)、云服务(如Amazon Redshift、Google BigQuery)以及各种数据文件格式。
|
||||
- **数据查询**:用户可以通过直观的图形界面或SQL查询语言来执行数据查询,从而轻松地提取所需的数据。
|
||||
- **可视化**:Metabase 提供了多种图表类型,包括条形图、折线图、饼图等,用户可以使用这些图表来呈现数据,并自定义图表样式和颜色。
|
||||
- **数据仪表板**:用户可以创建交互式的数据仪表板,将多个图表和查询结果组合在一起,以便更好地理解数据趋势和关系。
|
||||
- **自动化报表**:Metabase 允许用户创建定期自动生成的报表,以便在特定时间发送给团队成员或其他相关方。
|
||||
- **数据权限和安全性**:Metabase 提供了细粒度的数据访问权限控制,以确保只有授权用户能够访问敏感数据。
|
||||
- **问题和答案**:用户可以使用 Metabase 的“问题”功能来直接向系统提问,系统会自动执行相应的查询并返回答案,无需编写SQL查询。
|
||||
- **自动建议**:Metabase 提供了智能的查询建议功能,帮助用户更快地构建有效的查询。
|
||||
- **数据导出**:用户可以将查询结果以多种格式导出,包括CSV、Excel、图像等,以便进一步分析或共享数据。
|
||||
- **插件和扩展性**:Metabase 支持各种插件和扩展,可以根据需要添加新的功能和数据源连接。
|
20
apps/metabase/data.yml
Executable file
20
apps/metabase/data.yml
Executable file
@ -0,0 +1,20 @@
|
||||
name: Metabase
|
||||
tags:
|
||||
- BI
|
||||
title: 一款开源的数据分析和可视化工具
|
||||
type: BI
|
||||
description: 一款开源的数据分析和可视化工具
|
||||
additionalProperties:
|
||||
key: metabase
|
||||
name: Metabase
|
||||
tags:
|
||||
- BI
|
||||
shortDescZh: 一款开源的数据分析和可视化工具
|
||||
shortDescEn: An open source data analysis and visualization tool
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://www.metabase.com
|
||||
github: https://github.com/metabase/metabase
|
||||
document: https://www.metabase.com/docs
|
BIN
apps/metabase/logo.png
Normal file
BIN
apps/metabase/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
Loading…
Reference in New Issue
Block a user