1
0
Fork 0

♻️ refactor(bettafish): update database configuration and app categorization

- standardize database environment variable naming with PANEL_ prefix
- remove redundant database port configuration field
- update app categorization from "Tool" to "AI" tag
- add environment variable mapping in docker-compose for database settings
- compression logo image
This commit is contained in:
pooneyy 2025-11-13 21:41:43 +08:00
parent dd44b58105
commit 08e7c3af77
No known key found for this signature in database
4 changed files with 18 additions and 28 deletions

View File

@ -83,7 +83,7 @@ additionalProperties:
edit: true edit: true
rule: paramPort rule: paramPort
- default: postgresql - default: postgresql
envKey: DB_DIALECT envKey: PANEL_DB_TYPE
labelZh: 数据库 labelZh: 数据库
labelEn: Database labelEn: Database
label: label:
@ -116,29 +116,11 @@ additionalProperties:
value: mysql value: mysql
child: child:
default: "" default: ""
envKey: DB_HOST envKey: PANEL_DB_HOST
required: false required: false
type: service type: service
- default: "5432" - default: bettafish_user
envKey: DB_PORT envKey: PANEL_DB_USER
labelZh: 数据库端口号
labelEn: Database Port Number
label:
zh: 数据库端口号
zh-Hant: 資料庫埠號
en: Database Port Number
ja: データベースポート番号
ko: 데이터베이스 포트 번호
ms: Nombor Port Pangkalan Data
pt-br: Número da Porta do Banco de Dados
ru: Номер порта базы данных
tr: Veritabanı Bağlantı Noktası Numarası
required: true
type: number
edit: true
rule: paramPort
- default: ""
envKey: DB_USER
labelZh: 数据库用户名 labelZh: 数据库用户名
labelEn: Database Username labelEn: Database Username
label: label:
@ -155,8 +137,9 @@ additionalProperties:
type: text type: text
edit: true edit: true
rule: paramCommon rule: paramCommon
- default: "" random: true
envKey: DB_PASSWORD - default: bettafish_password
envKey: PANEL_DB_USER_PASSWORD
labelZh: 数据库密码 labelZh: 数据库密码
labelEn: Database Password labelEn: Database Password
label: label:
@ -173,8 +156,9 @@ additionalProperties:
type: text type: text
edit: true edit: true
rule: paramComplexity rule: paramComplexity
- default: "" random: true
envKey: DB_NAME - default: bettafish
envKey: PANEL_DB_NAME
labelZh: 数据库名称 labelZh: 数据库名称
labelEn: Database Name labelEn: Database Name
label: label:

View File

@ -4,6 +4,12 @@ services:
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
restart: always restart: always
environment: environment:
- DB_DIALECT=${PANEL_DB_TYPE}
- DB_HOST=${PANEL_DB_HOST}
- DB_PORT=${PANEL_DB_PORT}
- DB_USER=${PANEL_DB_USER}
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
- DB_NAME=${PANEL_DB_NAME}
- PYTHONUNBUFFERED=1 - PYTHONUNBUFFERED=1
- STREAMLIT_SERVER_ENABLE_FILE_WATCHER=false - STREAMLIT_SERVER_ENABLE_FILE_WATCHER=false
ports: ports:

View File

@ -1,13 +1,13 @@
name: BettaFish name: BettaFish
tags: tags:
- 实用工具 - AI
title: 不依赖任何框架、人人可用的创新型多智能体舆情分析系统 title: 不依赖任何框架、人人可用的创新型多智能体舆情分析系统
description: 不依赖任何框架、人人可用的创新型多智能体舆情分析系统 description: 不依赖任何框架、人人可用的创新型多智能体舆情分析系统
additionalProperties: additionalProperties:
key: bettafish key: bettafish
name: BettaFish name: BettaFish
tags: tags:
- Tool - AI
shortDescZh: 不依赖任何框架、人人可用的创新型多智能体舆情分析系统 shortDescZh: 不依赖任何框架、人人可用的创新型多智能体舆情分析系统
shortDescEn: A framework-independent, user-friendly, and innovative multi-agent public opinion analysis system shortDescEn: A framework-independent, user-friendly, and innovative multi-agent public opinion analysis system
description: description:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB