From 729a48b3631717ad5ba8e114db6642e2b450c1ca Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 27 Oct 2025 08:02:57 +0100 Subject: [PATCH] cleanup --- ct/comfyui.sh | 42 --------------- frontend/public/json/comfyui.json | 44 ---------------- install/comfyui-install.sh | 87 ------------------------------- 3 files changed, 173 deletions(-) delete mode 100644 ct/comfyui.sh delete mode 100644 frontend/public/json/comfyui.json delete mode 100644 install/comfyui-install.sh diff --git a/ct/comfyui.sh b/ct/comfyui.sh deleted file mode 100644 index 52354e45a..000000000 --- a/ct/comfyui.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/build.func) -# Copyright (c) 2021-2025 community-scripts ORG -# Author: jdacode -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/comfyanonymous/ComfyUI - -APP="ComfyUI" -var_tags="${var_tags:-ai}" -var_cpu="${var_cpu:-4}" -var_ram="${var_ram:-8192}" -var_disk="${var_disk:-25}" -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 [[ ! -f /opt/${APP} ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_error "To update use the ${APP} Manager." - 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}:8188${CL}" diff --git a/frontend/public/json/comfyui.json b/frontend/public/json/comfyui.json deleted file mode 100644 index 95e3bd381..000000000 --- a/frontend/public/json/comfyui.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "ComfyUI", - "slug": "comfyui", - "categories": [ - 20 - ], - "date_created": "2025-08-01", - "type": "ct", - "updateable": true, - "privileged": false, - "config_path": "/opt", - "interface_port": 8188, - "documentation": "https://github.com/comfyanonymous/ComfyUI", - "website": "https://www.comfy.org/", - "logo": "https://framerusercontent.com/images/3cNQMWKzIhIrQ5KErBm7dSmbd2w.png", - "description": "ComfyUI is a node-based interface and inference engine for generative AI. Users can combine various AI models and operations through nodes to achieve highly customizable and controllable content generation.", - "install_methods": [ - { - "type": "default", - "script": "ct/comfyui.sh", - "resources": { - "cpu": 4, - "ram": 8192, - "hdd": 25, - "os": "debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "Application takes long time to install. Please be patient!", - "type": "warning" - }, - { - "text": "Please check that you have installed the drivers for your GPU.", - "type": "info" - } - ] -} diff --git a/install/comfyui-install.sh b/install/comfyui-install.sh deleted file mode 100644 index 4f5b7de41..000000000 --- a/install/comfyui-install.sh +++ /dev/null @@ -1,87 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2025 community-scripts ORG -# Author: jdacode -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/comfyanonymous/ComfyUI - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -echo -echo "${TAB3}Choose the GPU type for ComfyUI:" -echo "${TAB3}[1]-None [2]-NVIDIA [3]-AMD [4]-Intel" -read -rp "${TAB3}Enter your choice [1-4] (default: 1): " gpu_choice -gpu_choice=${gpu_choice:-1} -case "$gpu_choice" in -1) comfyui_gpu_type="none";; -2) comfyui_gpu_type="nvidia";; -3) comfyui_gpu_type="amd";; -4) comfyui_gpu_type="intel";; -*) comfyui_gpu_type="none"; echo "${TAB3}Invalid choice. Defaulting to ${comfyui_gpu_type}." ;; -esac -echo - -PYTHON_VERSION="3.12" setup_uv - -fetch_and_deploy_gh_release "ComfyUI" "comfyanonymous/ComfyUI" "tarball" "latest" "/opt/ComfyUI" - -msg_info "Python dependencies" -$STD uv venv "/opt/ComfyUI/venv" -if [[ "${comfyui_gpu_type,,}" == "nvidia" ]]; then - $STD uv pip install \ - torch \ - torchvision \ - torchaudio \ - --extra-index-url "https://download.pytorch.org/whl/cu128" \ - --python="/opt/ComfyUI/venv/bin/python" -elif [[ "${comfyui_gpu_type,,}" == "amd" ]]; then - $STD uv pip install \ - torch \ - torchvision \ - torchaudio \ - --index-url "https://download.pytorch.org/whl/rocm6.3" \ - --python="/opt/ComfyUI/venv/bin/python" -elif [[ "${comfyui_gpu_type,,}" == "intel" ]]; then - $STD uv pip install \ - torch \ - torchvision \ - torchaudio \ - --index-url "https://download.pytorch.org/whl/xpu" \ - --python="/opt/ComfyUI/venv/bin/python" -fi -$STD uv pip install -r "/opt/ComfyUI/requirements.txt" --python="/opt/ComfyUI/venv/bin/python" -msg_ok "Python dependencies" - -msg_info "Creating Service" -cat </etc/systemd/system/comfyui.service -[Unit] -Description=ComfyUI Service -After=network.target - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/ComfyUI -ExecStart=/opt/ComfyUI/venv/bin/python /opt/ComfyUI/main.py --listen --port 8188 --cpu -Restart=on-failure - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now comfyui -msg_ok "Created Service" - -motd_ssh -customize - -msg_info "Cleaning up" -$STD apt -y autoremove -$STD apt -y autoclean -$STD apt -y clean -msg_ok "Cleaned"