diff --git a/ct/planka.sh b/ct/planka.sh index caaa839e..a2da402a 100644 --- a/ct/planka.sh +++ b/ct/planka.sh @@ -9,7 +9,7 @@ APP="planka" var_tags="${var_tags:-Arr}" var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" -var_disk="${var_disk:-8}" +var_disk="${var_disk:-4}" var_os="${var_os:-debian}" var_version="${var_version:-12}" var_unprivileged="${var_unprivileged:-1}" @@ -35,6 +35,12 @@ function update_script() { msg_ok "Stopped $APP" msg_info "Updating $APP to ${RELEASE}" + cp /opt/planka/planka/.env /opt + rm -rf /opt/planka + fetch_and_deploy_gh_release "planka" "plankanban/planka" "prebuild" "latest" "/opt/planka" "planka-prebuild.zip" + cd /opt/planka/planka + $STD npm install + mv /opt/.env /opt/planka/planka msg_ok "Updated $APP to ${RELEASE}" msg_info "Starting $APP" diff --git a/frontend/public/json/planka.json b/frontend/public/json/planka.json new file mode 100644 index 00000000..4907dffc --- /dev/null +++ b/frontend/public/json/planka.json @@ -0,0 +1,40 @@ +{ + "name": "Planka", + "slug": "planka", + "categories": [ + 14 + ], + "date_created": "2025-06-09", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 1337, + "documentation": "https://docs.planka.cloud/", + "website": "https://planka.app/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/planka.webp", + "config_path": "/opt/planka/planka/.env", + "description": "Planka is an open‑source, self‑hosted project‑management tool that mimics Trello’s kanban-style interface. It lets teams create projects with multiple boards, drag and drop cards into lists, attach files, write markdown descriptions, set due dates, assign members, leave comments and labels, all with real-time updates and notifications.", + "install_methods": [ + { + "type": "default", + "script": "ct/planka.sh", + "resources": { + "cpu": 1, + "ram": 1024, + "hdd": 4, + "os": "debian", + "version": "12" + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [ + { + "text": "After installation finishes, type `cd /opt/planka/planka && npm run db:create-admin-user` and follow prompts to create admin user.", + "type": "info" + } + ] +}