1
0

feat(telegraph-image): add telegraph-image application configuration

- add data.yml with form fields for KV database, dashboard credentials, telegram integration, and content moderation
- add docker-compose.yml for container deployment with environment variables and network configuration
- add README.md with setup instructions and telegram bot configuration guide in chinese
- add README_en.md with english version of setup instructions
- add main data.yml with application metadata, tags, and architecture support
This commit is contained in:
pooneyy
2025-10-29 11:58:03 +08:00
parent c3800b89f6
commit f66cbc97c8
6 changed files with 192 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
additionalProperties:
formFields:
- default: "8080"
envKey: PANEL_APP_PORT_HTTP
label:
en: Port
zh: 端口
required: true
type: number
edit: true
rule: paramPort
- default: ./data
envKey: KV_DATABASE_DIR
label:
en: KV Database Persistence Directory
zh: KV数据库持久化目录
required: true
type: text
edit: true
- default: ""
envKey: BASIC_USER
label:
en: Dashboard Username
zh: 管理面板用户名
required: true
type: text
edit: true
rule: paramCommon
- default: ""
envKey: BASIC_PASS
label:
en: Dashboard Password
zh: 管理面板密码
required: true
type: password
edit: true
rule: paramComplexity
random: true
- default: ""
envKey: TG_Chat_ID
label:
en: Telegram Channel ID
zh: Telegram 频道 ID
required: true
type: text
edit: true
- default: ""
envKey: TG_Bot_Token
label:
en: Telegram Bot Token
zh: Telegram Bot Token
required: true
type: text
edit: true
- default: "false"
envKey: WhiteList_Mode
label:
en: WhiteList Mode
zh: 白名单模式
required: false
type: select
edit: true
values:
- label: "True"
value: "true"
- label: "False"
value: "false"
- default: ""
envKey: ModerateContentApiKey
label:
en: ModerateContent NSFW API key
zh: ModerateContent 图片审查 API key
required: false
type: text
edit: true