1
0
Fork 0

feat: Update the planka package

This commit is contained in:
wanghe-fit2cloud 2025-03-03 15:30:11 +08:00
parent bca54e0514
commit aae92ced47
5 changed files with 126 additions and 150 deletions

View File

@ -1,108 +1,93 @@
additionalProperties: additionalProperties:
formFields: formFields:
- default: postgres - default: postgres
envKey: PANEL_DB_TYPE envKey: PANEL_DB_TYPE
labelEn: Database Service labelEn: Database Service
labelZh: 数据库服务 labelZh: 数据库服务
required: true required: true
type: apps type: apps
child: child:
default: "" default: ""
envKey: PANEL_DB_HOST envKey: PANEL_DB_HOST
required: true required: true
type: service type: service
values: values:
- label: PostgreSQL - label: PostgreSQL
value: postgres value: postgres
label: - default: planka
en: Database Service envKey: PANEL_DB_NAME
ja: データベースサービス labelEn: Database
ms: Perkhidmatan Pangkalan Data labelZh: 数据库名
pt-br: Serviço de Banco de Dados random: true
ru: Сервис баз данных required: true
ko: 데이터베이스 서비스 rule: paramCommon
zh-hant: 資料庫服務 type: text
zh: 数据库服务 - default: planka
- default: planka envKey: PANEL_DB_USER
envKey: PANEL_DB_NAME random: true
labelEn: Database required: true
labelZh: 数据库名 rule: paramCommon
random: true type: text
required: true labelEn: Database User
rule: paramCommon labelZh: 数据库用户
type: text - default: planka
label: envKey: PANEL_DB_USER_PASSWORD
en: Database random: true
ja: データベース required: true
ms: Pangkalan Data rule: paramComplexity
pt-br: Banco de Dados type: password
ru: База данных labelEn: Database Password
ko: 데이터베이스 labelZh: 数据库密码
zh-hant: 資料庫 - default: 1337
zh: 数据库 edit: true
- default: planka envKey: PANEL_APP_PORT_HTTP
envKey: PANEL_DB_USER labelEn: Port
random: true labelZh: HTTP 端口
required: true required: true
rule: paramCommon rule: paramPort
type: text type: number
labelEn: Database User - default: admin
labelZh: 数据库用户 edit: true
label: envKey: DEFAULT_ADMIN_USERNAME
en: Database User labelEn: Admin Username
ja: データベースユーザー labelZh: 管理员用户名
ms: Pengguna Pangkalan Data required: true
pt-br: Usuário do Banco de Dados type: text
ru: Пользователь базы данных - default: planka
ko: 데이터베이스 사용자 edit: true
zh-hant: 資料庫用戶 envKey: DEFAULT_ADMIN_PASSWORD
zh: 数据库用户 labelEn: Admin Password
- default: planka labelZh: 管理员密码
envKey: PANEL_DB_USER_PASSWORD random: true
random: true required: true
required: true type: password
rule: paramComplexity - default: admin@planka.app
type: password edit: true
labelEn: Database Password envKey: DEFAULT_ADMIN_EMAIL
labelZh: 数据库密码 labelEn: Admin Email
label: labelZh: 管理员邮箱
en: Database Password required: true
ja: データベースのパスワード type: text
ms: Kata Laluan Pangkalan Data - default: Admin
pt-br: Senha do Banco de Dados edit: true
ru: Пароль базы данных envKey: DEFAULT_ADMIN_NAME
ko: 데이터베이스 비밀번호 labelEn: Admin Name
zh-hant: 資料庫密碼 labelZh: 管理员姓名
zh: 数据库密码 required: true
- default: 1337 type: text
envKey: PANEL_APP_PORT_HTTP - default: http://localhost:1337
labelEn: Port edit: true
labelZh: HTTP 端口 envKey: PLANKA_EXTERNAL_URL
required: true labelEn: External URL
rule: paramPort labelZh: 外部访问地址
type: number required: true
label: rule: paramExtUrl
en: HTTP Port type: text
ja: HTTP ポート - default: "planka"
ms: HTTP Port edit: true
pt-br: HTTP Porta envKey: PLANKA_SECRET_KEY
ru: HTTP Порт labelEn: SECRET KEY
ko: HTTP 포트 labelZh: 密钥
zh-Hant: HTTP 埠 random: true
zh: HTTP 端口 required: true
- default: http://localhost:1337 type: text
edit: true
envKey: PLANKA_EXTERNAL_URL
labelEn: External URL
labelZh: 外部访问地址
required: true
rule: paramExtUrl
type: text
- default: "planka"
edit: true
envKey: PLANKA_SECRET_KEY
labelEn: SECRET KEY
labelZh: 密钥
random: true
required: true
type: text

View File

@ -6,6 +6,12 @@ services:
- BASE_URL=${PLANKA_EXTERNAL_URL} - BASE_URL=${PLANKA_EXTERNAL_URL}
- DATABASE_URL=postgresql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME} - DATABASE_URL=postgresql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
- SECRET_KEY=${PLANKA_SECRET_KEY} - SECRET_KEY=${PLANKA_SECRET_KEY}
# Do not remove if you want to prevent this user from being edited/deleted
- DEFAULT_ADMIN_NAME=${DEFAULT_ADMIN_NAME}
- DEFAULT_ADMIN_USERNAME=${DEFAULT_ADMIN_USERNAME}
- DEFAULT_ADMIN_PASSWORD=${DEFAULT_ADMIN_PASSWORD}
- DEFAULT_ADMIN_EMAIL=${DEFAULT_ADMIN_EMAIL}
# - TRUST_PROXY=0 # - TRUST_PROXY=0
# - TOKEN_EXPIRES_IN=365 # In days # - TOKEN_EXPIRES_IN=365 # In days
@ -17,12 +23,6 @@ services:
# Configure knex to accept SSL certificates # Configure knex to accept SSL certificates
# - KNEX_REJECT_UNAUTHORIZED_SSL_CERTIFICATE=false # - KNEX_REJECT_UNAUTHORIZED_SSL_CERTIFICATE=false
# Do not remove if you want to prevent this user from being edited/deleted
- DEFAULT_ADMIN_EMAIL=demo@demo.demo
- DEFAULT_ADMIN_PASSWORD=demo
- DEFAULT_ADMIN_NAME=Demo Demo
- DEFAULT_ADMIN_USERNAME=demo
# - SHOW_DETAILED_AUTH_ERRORS=false # Set to true to show more detailed authentication error messages. It should not be enabled without a rate limiter for security reasons. # - SHOW_DETAILED_AUTH_ERRORS=false # Set to true to show more detailed authentication error messages. It should not be enabled without a rate limiter for security reasons.
# - ALLOW_ALL_TO_CREATE_PROJECTS=true # - ALLOW_ALL_TO_CREATE_PROJECTS=true
@ -83,10 +83,9 @@ services:
networks: networks:
- 1panel-network - 1panel-network
volumes: volumes:
- ./user-avatars:/app/public/user-avatars - ./data/user-avatars:/app/public/user-avatars
- ./project-background-images:/app/public/project-background-images - ./data/project-background-images:/app/public/project-background-images
- ./attachments:/app/private/attachments - ./data/attachments:/app/private/attachments
ports: ports:
- "${PANEL_APP_PORT_HTTP}:1337" - "${PANEL_APP_PORT_HTTP}:1337"
labels: labels:

View File

@ -1,24 +1,10 @@
`安装时可根据需要编辑 Compose 文件,调整参数` # Planka
```
默认禁止修改管理员账号和密码,完成部署后,请按照以下步骤操作:
1. 进入 "参数" -> "编辑" -> "高级设置"
2. 修改 Compose 文件,删除以下行:
- DEFAULT_ADMIN_EMAIL=demo@demo.demo
- DEFAULT_ADMIN_PASSWORD=demo
- DEFAULT_ADMIN_NAME=Demo Demo
- DEFAULT_ADMIN_USERNAME=demo
3. 重建后登陆修改
```
# Planka 📌
**Planka** 是一款开源、自托管的项目管理工具,类似 Trello基于 **Node.js、React 和 PostgreSQL** 构建。 **Planka** 是一款开源、自托管的项目管理工具,类似 Trello基于 **Node.js、React 和 PostgreSQL** 构建。
## 🌟 主要特性 ## 主要特性
- 📌 **可视化看板** —— 拖拽操作直观,管理任务更高效
- 👥 **团队协作** —— 支持多用户,灵活权限管理 - **可视化看板**:拖拽操作直观,管理任务更高效
- 🔄 **实时同步** —— WebSockets 确保多端数据即时更新 - **团队协作**:支持多用户,灵活权限管理
- 🚀 **轻量高效** —— 运行流畅,占用资源少 - **实时同步**WebSockets 确保多端数据即时更新
- **轻量高效**:运行流畅,占用资源少

View File

@ -1,13 +1,19 @@
additionalProperties: name: Planka
key: planka tags:
name: Planka
tags:
- DevOps - DevOps
shortDescZh: 优雅的开源项目追踪 title: 优雅的开源项目追踪
shortDescEn: Elegant open source project tracking description: 优雅的开源项目追踪
type: tool additionalProperties:
crossVersionUpdate: true key: planka
limit: 0 name: Planka
website: https://planka.app/ tags:
github: https://github.com/plankanban/planka - DevOps
document: https://docs.planka.cloud/docs/intro shortDescZh: 优雅的开源项目追踪
shortDescEn: Elegant open source project tracking
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://planka.app/
github: https://github.com/plankanban/planka
document: https://docs.planka.cloud/docs/intro

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB