Files
nexus/wiki/entities/Apache-Superset.md

51 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Apache Superset"
type: entity
aliases:
- Superset
- Apache Superset
tags: [apache, bi, docker, data-visualization]
date: 2026-04-14
---
# Apache Superset
## Overview
Apache Superset 是 Apache 软件基金会旗下的开源 **Business Intelligence (BI) 平台**提供数据可视化、仪表盘构建、SQL 查询和数据分析功能。Superset 基于 **Flask-AppBuilder**Fab框架构建支持通过插件扩展图表类型并与多种数据源集成MySQL、PostgreSQL、SQLite、Druid 等)。
## Key Attributes
- **类型**: Product / Open Source Project
- **维护方**: Apache Software Foundation
- **编程语言**: Python (Flask)
- **前端**: React
- **默认端口**: 8088
- **默认数据库**: SQLite生产环境建议外挂 PostgreSQL 或 MySQL
## Docker 部署
通过 Docker 镜像容器化部署是 Home Server 场景的推荐方式:
- **镜像**: `apache/superset:GHA-*`GitHub Actions 构建版本)
- **6 步初始化流程**:
1. `docker pull apache/superset:GHA-*`
2. `docker run -d -p 8777:8088 -e SUPERSET_SECRET_KEY=... --name superset apache/superset:GHA-*`
3. `docker exec -it superset superset fab create-admin`(创建管理员账户)
4. `docker exec -it superset superset db upgrade`(数据库迁移)
5. `docker exec -it superset superset load_examples`(加载示例数据)
6. `docker exec -it superset superset init`(完成初始化)
- **端口映射**: 宿主机 8777 → 容器 8088
## Related Entities
- [[Docker]] — 部署底座
- [[MySQL]] — 支持的外挂数据库后端
- [[Portainer]] — 可用于管理 Superset 容器生命周期
- [[Jellyfin]] — 同属 Home Server 可视化服务系列(视频 vs 数据)
- [[Prometheus]] — 可作为数据源接入 Superset
- [[Grafana]] — 功能重叠的替代方案Superset 更偏重 BI/GalleryGrafana 更偏重监控
## Related Concepts
- [[BI平台]] — 核心概念定义
- [[数据可视化]] — 核心应用场景
- [[Docker容器化部署]] — 部署方法论
## Sources
- [[用docker安装apache-superset]]