♻️ 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:
parent
dd44b58105
commit
08e7c3af77
|
|
@ -83,7 +83,7 @@ additionalProperties:
|
|||
edit: true
|
||||
rule: paramPort
|
||||
- default: postgresql
|
||||
envKey: DB_DIALECT
|
||||
envKey: PANEL_DB_TYPE
|
||||
labelZh: 数据库
|
||||
labelEn: Database
|
||||
label:
|
||||
|
|
@ -116,29 +116,11 @@ additionalProperties:
|
|||
value: mysql
|
||||
child:
|
||||
default: ""
|
||||
envKey: DB_HOST
|
||||
envKey: PANEL_DB_HOST
|
||||
required: false
|
||||
type: service
|
||||
- default: "5432"
|
||||
envKey: DB_PORT
|
||||
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
|
||||
- default: bettafish_user
|
||||
envKey: PANEL_DB_USER
|
||||
labelZh: 数据库用户名
|
||||
labelEn: Database Username
|
||||
label:
|
||||
|
|
@ -155,8 +137,9 @@ additionalProperties:
|
|||
type: text
|
||||
edit: true
|
||||
rule: paramCommon
|
||||
- default: ""
|
||||
envKey: DB_PASSWORD
|
||||
random: true
|
||||
- default: bettafish_password
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelZh: 数据库密码
|
||||
labelEn: Database Password
|
||||
label:
|
||||
|
|
@ -173,8 +156,9 @@ additionalProperties:
|
|||
type: text
|
||||
edit: true
|
||||
rule: paramComplexity
|
||||
- default: ""
|
||||
envKey: DB_NAME
|
||||
random: true
|
||||
- default: bettafish
|
||||
envKey: PANEL_DB_NAME
|
||||
labelZh: 数据库名称
|
||||
labelEn: Database Name
|
||||
label:
|
||||
|
|
|
|||
|
|
@ -4,6 +4,12 @@ services:
|
|||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
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
|
||||
- STREAMLIT_SERVER_ENABLE_FILE_WATCHER=false
|
||||
ports:
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
name: BettaFish
|
||||
tags:
|
||||
- 实用工具
|
||||
- AI
|
||||
title: 不依赖任何框架、人人可用的创新型多智能体舆情分析系统
|
||||
description: 不依赖任何框架、人人可用的创新型多智能体舆情分析系统
|
||||
additionalProperties:
|
||||
key: bettafish
|
||||
name: BettaFish
|
||||
tags:
|
||||
- Tool
|
||||
- AI
|
||||
shortDescZh: 不依赖任何框架、人人可用的创新型多智能体舆情分析系统
|
||||
shortDescEn: A framework-independent, user-friendly, and innovative multi-agent public opinion analysis system
|
||||
description:
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 6.0 KiB |
Loading…
Reference in New Issue