From 679a514f869088eb473c9e7fa7940daffaa7aeb6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2026 20:08:50 +0000 Subject: [PATCH] Delete drawdb (ct) after migration to ProxmoxVE (#1658) Co-authored-by: github-actions[bot] --- ct/drawdb.sh | 53 --------------------------------------- install/drawdb-install.sh | 52 -------------------------------------- json/drawdb.json | 33 ------------------------ 3 files changed, 138 deletions(-) delete mode 100644 ct/drawdb.sh delete mode 100644 install/drawdb-install.sh delete mode 100644 json/drawdb.json diff --git a/ct/drawdb.sh b/ct/drawdb.sh deleted file mode 100644 index ff4c17d7..00000000 --- a/ct/drawdb.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE -# Source: https://github.com/drawdb-io/drawdb - -APP="DrawDB" -var_tags="${var_tags:-database;dev-tools}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-6144}" -var_disk="${var_disk:-5}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_unprivileged="${var_unprivileged:-1}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - - if [[ ! -d /opt/drawdb ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_tag "drawdb" "drawdb-io/drawdb"; then - CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "drawdb" "drawdb-io/drawdb" "latest" "/opt/drawdb" - - msg_info "Rebuilding Frontend" - cd /opt/drawdb - $STD npm ci - NODE_OPTIONS="--max-old-space-size=4096" $STD npm run build - sed -i '//a ' /opt/drawdb/dist/index.html - msg_ok "Rebuilt Frontend" - msg_ok "Updated successfully!" - fi - exit -} - -start -build_container -description - -msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" diff --git a/install/drawdb-install.sh b/install/drawdb-install.sh deleted file mode 100644 index e1a9cc48..00000000 --- a/install/drawdb-install.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE -# Source: https://github.com/drawdb-io/drawdb - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt install -y nginx -msg_ok "Installed Dependencies" - -NODE_VERSION="20" setup_nodejs -fetch_and_deploy_gh_tag "drawdb" "drawdb-io/drawdb" "latest" "/opt/drawdb" - -msg_info "Building Frontend" -cd /opt/drawdb -$STD npm ci -NODE_OPTIONS="--max-old-space-size=4096" $STD npm run build -msg_ok "Built Frontend" - -msg_info "Applying crypto.randomUUID Polyfill" -sed -i '//a ' /opt/drawdb/dist/index.html -msg_ok "Applied Polyfill" - -msg_info "Configuring Nginx" -cat </etc/nginx/conf.d/drawdb.conf -server { - listen 3000; - server_name _; - root /opt/drawdb/dist; - - location / { - try_files \$uri /index.html; - } -} -EOF -rm -f /etc/nginx/sites-enabled/default -systemctl enable -q --now nginx -systemctl reload nginx -msg_ok "Configured Nginx" - -motd_ssh -customize -cleanup_lxc diff --git a/json/drawdb.json b/json/drawdb.json deleted file mode 100644 index 6b11789e..00000000 --- a/json/drawdb.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "DrawDB", - "slug": "drawdb", - "categories": [20], - "date_created": "2026-03-30", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 3000, - "documentation": "https://github.com/drawdb-io/drawdb", - "website": "https://drawdb.vercel.app", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/drawdb.webp", - "config_path": "", - "description": "DrawDB is a free, simple, and intuitive database entity relationship (DBER) editor right in your browser. Build diagrams with a few clicks, export SQL scripts, and customize your editor.", - "install_methods": [ - { - "type": "default", - "script": "ct/drawdb.sh", - "resources": { - "cpu": 2, - "ram": 2048, - "hdd": 4, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [] -}