diff --git a/planka/1.24.4/data.yml b/planka/1.24.4/data.yml index f91b54bbf..e8a2b45b7 100644 --- a/planka/1.24.4/data.yml +++ b/planka/1.24.4/data.yml @@ -1,108 +1,93 @@ additionalProperties: - formFields: - - default: postgres - envKey: PANEL_DB_TYPE - labelEn: Database Service - labelZh: 数据库服务 - required: true - type: apps - child: - default: "" - envKey: PANEL_DB_HOST - required: true - type: service - values: - - label: PostgreSQL - value: postgres - label: - en: Database Service - ja: データベースサービス - ms: Perkhidmatan Pangkalan Data - pt-br: Serviço de Banco de Dados - ru: Сервис баз данных - ko: 데이터베이스 서비스 - zh-hant: 資料庫服務 - zh: 数据库服务 - - default: planka - envKey: PANEL_DB_NAME - labelEn: Database - labelZh: 数据库名 - random: true - required: true - rule: paramCommon - type: text - label: - en: Database - ja: データベース - ms: Pangkalan Data - pt-br: Banco de Dados - ru: База данных - ko: 데이터베이스 - zh-hant: 資料庫 - zh: 数据库 - - default: planka - envKey: PANEL_DB_USER - random: true - required: true - rule: paramCommon - type: text - labelEn: Database User - labelZh: 数据库用户 - label: - en: Database User - ja: データベースユーザー - ms: Pengguna Pangkalan Data - pt-br: Usuário do Banco de Dados - ru: Пользователь базы данных - ko: 데이터베이스 사용자 - zh-hant: 資料庫用戶 - zh: 数据库用户 - - default: planka - envKey: PANEL_DB_USER_PASSWORD - random: true - required: true - rule: paramComplexity - type: password - labelEn: Database Password - labelZh: 数据库密码 - label: - en: Database Password - ja: データベースのパスワード - ms: Kata Laluan Pangkalan Data - pt-br: Senha do Banco de Dados - ru: Пароль базы данных - ko: 데이터베이스 비밀번호 - zh-hant: 資料庫密碼 - zh: 数据库密码 - - default: 1337 - envKey: PANEL_APP_PORT_HTTP - labelEn: Port - labelZh: HTTP 端口 - required: true - rule: paramPort - type: number - label: - en: HTTP Port - ja: HTTP ポート - ms: HTTP Port - pt-br: HTTP Porta - ru: HTTP Порт - ko: HTTP 포트 - zh-Hant: HTTP 埠 - zh: HTTP 端口 - - default: http://localhost:1337 - 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 \ No newline at end of file + formFields: + - default: postgres + envKey: PANEL_DB_TYPE + labelEn: Database Service + labelZh: 数据库服务 + required: true + type: apps + child: + default: "" + envKey: PANEL_DB_HOST + required: true + type: service + values: + - label: PostgreSQL + value: postgres + - default: planka + envKey: PANEL_DB_NAME + labelEn: Database + labelZh: 数据库名 + random: true + required: true + rule: paramCommon + type: text + - default: planka + envKey: PANEL_DB_USER + random: true + required: true + rule: paramCommon + type: text + labelEn: Database User + labelZh: 数据库用户 + - default: planka + envKey: PANEL_DB_USER_PASSWORD + random: true + required: true + rule: paramComplexity + type: password + labelEn: Database Password + labelZh: 数据库密码 + - default: 1337 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: HTTP 端口 + required: true + rule: paramPort + type: number + - default: admin + edit: true + envKey: DEFAULT_ADMIN_USERNAME + labelEn: Admin Username + labelZh: 管理员用户名 + required: true + type: text + - default: planka + edit: true + envKey: DEFAULT_ADMIN_PASSWORD + labelEn: Admin Password + labelZh: 管理员密码 + random: true + required: true + type: password + - default: admin@planka.app + edit: true + envKey: DEFAULT_ADMIN_EMAIL + labelEn: Admin Email + labelZh: 管理员邮箱 + required: true + type: text + - default: Admin + edit: true + envKey: DEFAULT_ADMIN_NAME + labelEn: Admin Name + labelZh: 管理员姓名 + required: true + type: text + - default: http://localhost:1337 + 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 \ No newline at end of file diff --git a/planka/1.24.4/docker-compose.yml b/planka/1.24.4/docker-compose.yml index 185d0b30c..78793b49d 100644 --- a/planka/1.24.4/docker-compose.yml +++ b/planka/1.24.4/docker-compose.yml @@ -6,6 +6,12 @@ services: - BASE_URL=${PLANKA_EXTERNAL_URL} - DATABASE_URL=postgresql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME} - 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 # - TOKEN_EXPIRES_IN=365 # In days @@ -17,12 +23,6 @@ services: # Configure knex to accept SSL certificates # - 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. # - ALLOW_ALL_TO_CREATE_PROJECTS=true @@ -83,10 +83,9 @@ services: networks: - 1panel-network volumes: - - ./user-avatars:/app/public/user-avatars - - ./project-background-images:/app/public/project-background-images - - ./attachments:/app/private/attachments - + - ./data/user-avatars:/app/public/user-avatars + - ./data/project-background-images:/app/public/project-background-images + - ./data/attachments:/app/private/attachments ports: - "${PANEL_APP_PORT_HTTP}:1337" labels: diff --git a/planka/README.md b/planka/README.md index bd6e36f01..8b0919441 100644 --- a/planka/README.md +++ b/planka/README.md @@ -1,24 +1,10 @@ -`安装时可根据需要编辑 Compose 文件,调整参数` - -``` -默认禁止修改管理员账号和密码,完成部署后,请按照以下步骤操作: -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 **Planka** 是一款开源、自托管的项目管理工具,类似 Trello,基于 **Node.js、React 和 PostgreSQL** 构建。 -## 🌟 主要特性 -- 📌 **可视化看板** —— 拖拽操作直观,管理任务更高效 -- 👥 **团队协作** —— 支持多用户,灵活权限管理 -- 🔄 **实时同步** —— WebSockets 确保多端数据即时更新 -- 🚀 **轻量高效** —— 运行流畅,占用资源少 +## 主要特性 + +- **可视化看板**:拖拽操作直观,管理任务更高效 +- **团队协作**:支持多用户,灵活权限管理 +- **实时同步**:WebSockets 确保多端数据即时更新 +- **轻量高效**:运行流畅,占用资源少 diff --git a/planka/data.yml b/planka/data.yml index 95172c093..aaf02a98f 100644 --- a/planka/data.yml +++ b/planka/data.yml @@ -1,13 +1,19 @@ -additionalProperties: - key: planka - name: Planka - tags: +name: Planka +tags: - DevOps - shortDescZh: 优雅的开源项目追踪 - shortDescEn: Elegant open source project tracking - type: tool - crossVersionUpdate: true - limit: 0 - website: https://planka.app/ - github: https://github.com/plankanban/planka - document: https://docs.planka.cloud/docs/intro \ No newline at end of file +title: 优雅的开源项目追踪 +description: 优雅的开源项目追踪 +additionalProperties: + key: planka + name: Planka + tags: + - DevOps + 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 \ No newline at end of file diff --git a/planka/logo.png b/planka/logo.png index 33f3bbcd0..550851edf 100644 Binary files a/planka/logo.png and b/planka/logo.png differ