diff --git a/appstore/chartdb/1.20.1/.env b/appstore/chartdb/1.20.1/.env new file mode 100644 index 000000000..b4dd4db5f --- /dev/null +++ b/appstore/chartdb/1.20.1/.env @@ -0,0 +1,3 @@ +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=8080 + diff --git a/appstore/chartdb/1.20.1/data.yml b/appstore/chartdb/1.20.1/data.yml new file mode 100644 index 000000000..482f7b275 --- /dev/null +++ b/appstore/chartdb/1.20.1/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: 8080 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number diff --git a/appstore/chartdb/1.20.1/docker-compose.yml b/appstore/chartdb/1.20.1/docker-compose.yml new file mode 100644 index 000000000..f4984eec5 --- /dev/null +++ b/appstore/chartdb/1.20.1/docker-compose.yml @@ -0,0 +1,19 @@ +networks: + 1panel-network: + external: true +services: + app_name: + container_name: chartdb + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + image: ghcr.io/chartdb/chartdb:1.20.1 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:80 + restart: always diff --git a/appstore/chartdb/1.20.1/envs/default.env b/appstore/chartdb/1.20.1/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/appstore/chartdb/1.20.1/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/chartdb/1.20.1/envs/global.env b/appstore/chartdb/1.20.1/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/appstore/chartdb/1.20.1/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/chartdb/1.20.1/scripts/init.sh b/appstore/chartdb/1.20.1/scripts/init.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/chartdb/1.20.1/scripts/init.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + sed -i '/^GLOBAL_ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/chartdb/1.20.1/scripts/uninstall.sh b/appstore/chartdb/1.20.1/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/appstore/chartdb/1.20.1/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/chartdb/1.20.1/scripts/upgrade.sh b/appstore/chartdb/1.20.1/scripts/upgrade.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/chartdb/1.20.1/scripts/upgrade.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + sed -i '/^GLOBAL_ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/chartdb/README.md b/appstore/chartdb/README.md new file mode 100644 index 000000000..da717ff39 --- /dev/null +++ b/appstore/chartdb/README.md @@ -0,0 +1,28 @@ +# ChartDB + +ChartDB 是一款功能强大的基于 Web 的数据库图表编辑器。只需一个 “智能查询”,即可立即可视化您的数据库架构。 自定义图表、导出 +SQL 脚本并访问所有功能——无需注册帐户。在此体验流畅的数据库设计。 + +![ChartDB](https://file.lifebus.top/imgs/chartdb_cover.png) + +![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue) + +## 特性 + +### 即时架构导入 + +只需运行一个查询,即可立即以 JSON 格式检索数据库架构。这使得数据库架构的可视化速度极快,无论是用于文档编写、团队讨论,还是仅仅为了更好地理解数据。 + +### AI 赋能导出,轻松迁移 + +我们基于人工智能的导出功能允许您生成所需方言的 DDL 脚本。无论您是从 MySQL 迁移到 PostgreSQL,还是从 SQLite 迁移到 +MariaDB,ChartDB 都能提供针对目标数据库量身定制的必要脚本,从而简化迁移过程。 + +### 交互式编辑 + +使用我们直观的编辑器微调您的数据库架构。轻松进行调整或添加注释,以便更好地可视化复杂结构。 + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) +![Ms Studio](https://analytics.lifebus.top/p/wJix5nI1W) diff --git a/appstore/chartdb/data.yml b/appstore/chartdb/data.yml new file mode 100644 index 000000000..30ac203d7 --- /dev/null +++ b/appstore/chartdb/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + key: chartdb + name: ChartDB + tags: + - WebSite + - Local + shortDescZh: 数据库可视化工具 + shortDescEn: database visualization tool + type: website + crossVersionUpdate: true + limit: 0 + website: https://chartdb.io/ + github: https://github.com/chartdb/chartdb/ + document: https://docs.chartdb.io/ + architectures: + - amd64 + - arm64 diff --git a/appstore/chartdb/logo.png b/appstore/chartdb/logo.png new file mode 100644 index 000000000..00da33ad7 Binary files /dev/null and b/appstore/chartdb/logo.png differ diff --git a/appstore/chartdb/logo_banner.png b/appstore/chartdb/logo_banner.png new file mode 100644 index 000000000..3e32c4f97 Binary files /dev/null and b/appstore/chartdb/logo_banner.png differ diff --git a/dockge/chartdb/.env b/dockge/chartdb/.env new file mode 100644 index 000000000..b4dd4db5f --- /dev/null +++ b/dockge/chartdb/.env @@ -0,0 +1,3 @@ +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=8080 + diff --git a/dockge/chartdb/docker-compose.yml b/dockge/chartdb/docker-compose.yml new file mode 100644 index 000000000..f4984eec5 --- /dev/null +++ b/dockge/chartdb/docker-compose.yml @@ -0,0 +1,19 @@ +networks: + 1panel-network: + external: true +services: + app_name: + container_name: chartdb + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + image: ghcr.io/chartdb/chartdb:1.20.1 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:80 + restart: always diff --git a/dockge/chartdb/envs/default.env b/dockge/chartdb/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/dockge/chartdb/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/chartdb/envs/global.env b/dockge/chartdb/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/dockge/chartdb/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai