From 9f3f719ed6ee1adc2479c8258851eac6ab95300a Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Tue, 24 Feb 2026 13:27:48 +0100 Subject: [PATCH] readd ct, update information --- ct/alpine-komodo.sh | 71 ++++++++++++++++++++++++++++++++++++++++++ ct/coolify.sh | 69 +++++++++++++++++++++++++++++++++++++++++ ct/dockge.sh | 71 ++++++++++++++++++++++++++++++++++++++++++ ct/dokploy.sh | 69 +++++++++++++++++++++++++++++++++++++++++ ct/komodo.sh | 75 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 355 insertions(+) create mode 100644 ct/alpine-komodo.sh create mode 100644 ct/coolify.sh create mode 100644 ct/dockge.sh create mode 100644 ct/dokploy.sh create mode 100644 ct/komodo.sh diff --git a/ct/alpine-komodo.sh b/ct/alpine-komodo.sh new file mode 100644 index 000000000..86a24d737 --- /dev/null +++ b/ct/alpine-komodo.sh @@ -0,0 +1,71 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://komo.do + +APP="Alpine-Komodo" +var_tags="${var_tags:-docker;alpine}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-1024}" +var_disk="${var_disk:-10}" +var_os="${var_os:-alpine}" +var_version="${var_version:-3.23}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +ADDON_SCRIPT="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/komodo.sh" + +function update_script() { + if [[ ! -d /opt/komodo ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + msg_warn "⚠️ ${APP} has been migrated to an addon script." + echo "" + msg_info "This is a one-time migration. After this, you can update ${APP} anytime with:" + echo -e "${TAB}${TAB}${GN}update_komodo${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}" + echo "" + read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM + if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then + msg_warn "Migration skipped. The old update will continue to work for now." + msg_info "Updating ${APP} (legacy)" + COMPOSE_FILE=$(find /opt/komodo -maxdepth 1 -type f -name '*.compose.yaml' ! -name 'compose.env' | head -n1) + if [[ -z "$COMPOSE_FILE" ]]; then + msg_error "No valid compose file found in /opt/komodo!" + exit 1 + fi + $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env pull + $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env up -d + msg_ok "Updated ${APP}" + exit + fi + + msg_info "Migrating update function" + cat <<'MIGRATION_EOF' >/usr/bin/update +bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/komodo.sh)" +MIGRATION_EOF + chmod +x /usr/bin/update + + ln -sf /usr/bin/update /usr/bin/update_komodo 2>/dev/null || true + msg_ok "Migration complete" + + msg_info "Running addon update" + type=update bash <(curl -fsSL "${ADDON_SCRIPT}") + 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}:9120${CL}" diff --git a/ct/coolify.sh b/ct/coolify.sh new file mode 100644 index 000000000..44c7ff2ba --- /dev/null +++ b/ct/coolify.sh @@ -0,0 +1,69 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://coolify.io/ + +APP="Coolify" +var_tags="${var_tags:-docker;paas}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-4096}" +var_disk="${var_disk:-30}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +ADDON_SCRIPT="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/coolify.sh" + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -d /data/coolify ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + msg_warn "⚠️ ${APP} has been migrated to an addon script." + echo "" + msg_info "This is a one-time migration. After this, you can update ${APP} anytime with:" + echo -e "${TAB}${TAB}${GN}update_coolify${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}" + echo "" + read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM + if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then + msg_warn "Migration skipped. The old update will continue to work for now." + msg_info "Updating ${APP} (legacy)" + $STD bash <(curl -fsSL https://cdn.coollabs.io/coolify/install.sh) + msg_ok "Updated ${APP}" + exit + fi + + msg_info "Migrating update function" + cat <<'MIGRATION_EOF' >/usr/bin/update +bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/coolify.sh)" +MIGRATION_EOF + chmod +x /usr/bin/update + + ln -sf /usr/bin/update /usr/bin/update_coolify 2>/dev/null || true + msg_ok "Migration complete" + + msg_info "Running addon update" + type=update bash <(curl -fsSL "${ADDON_SCRIPT}") + 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}:8000${CL}" diff --git a/ct/dockge.sh b/ct/dockge.sh new file mode 100644 index 000000000..6612e165c --- /dev/null +++ b/ct/dockge.sh @@ -0,0 +1,71 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +# Copyright (c) 2021-2026 tteck +# Author: tteck (tteckster) | Migration: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://dockge.kuma.pet/ + +APP="Dockge" +var_tags="${var_tags:-docker}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-18}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +ADDON_SCRIPT="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/dockge.sh" + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -d /opt/dockge ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + msg_warn "⚠️ ${APP} has been migrated to an addon script." + echo "" + msg_info "This is a one-time migration. After this, you can update ${APP} anytime with:" + echo -e "${TAB}${TAB}${GN}update_dockge${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}" + echo "" + read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM + if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then + msg_warn "Migration skipped. The old update will continue to work for now." + msg_info "Updating ${APP} (legacy)" + cd /opt/dockge + $STD docker compose pull + $STD docker compose up -d + msg_ok "Updated ${APP}" + exit + fi + + msg_info "Migrating update function" + cat <<'MIGRATION_EOF' >/usr/bin/update +bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/dockge.sh)" +MIGRATION_EOF + chmod +x /usr/bin/update + + ln -sf /usr/bin/update /usr/bin/update_dockge 2>/dev/null || true + msg_ok "Migration complete" + + msg_info "Running addon update" + type=update bash <(curl -fsSL "${ADDON_SCRIPT}") + 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}:5001${CL}" diff --git a/ct/dokploy.sh b/ct/dokploy.sh new file mode 100644 index 000000000..55a2a9be6 --- /dev/null +++ b/ct/dokploy.sh @@ -0,0 +1,69 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://dokploy.com/ + +APP="Dokploy" +var_tags="${var_tags:-docker;paas}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-10}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_unprivileged="${var_unprivileged:-0}" + +header_info "$APP" +variables +color +catch_errors + +ADDON_SCRIPT="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/dokploy.sh" + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -d /etc/dokploy ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + msg_warn "⚠️ ${APP} has been migrated to an addon script." + echo "" + msg_info "This is a one-time migration. After this, you can update ${APP} anytime with:" + echo -e "${TAB}${TAB}${GN}update_dokploy${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}" + echo "" + read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM + if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then + msg_warn "Migration skipped. The old update will continue to work for now." + msg_info "Updating ${APP} (legacy)" + curl -sSL https://dokploy.com/install.sh | $STD bash -s update + msg_ok "Updated ${APP}" + exit + fi + + msg_info "Migrating update function" + cat <<'MIGRATION_EOF' >/usr/bin/update +bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/dokploy.sh)" +MIGRATION_EOF + chmod +x /usr/bin/update + + ln -sf /usr/bin/update /usr/bin/update_dokploy 2>/dev/null || true + msg_ok "Migration complete" + + msg_info "Running addon update" + type=update bash <(curl -fsSL "${ADDON_SCRIPT}") + 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/ct/komodo.sh b/ct/komodo.sh new file mode 100644 index 000000000..6354c8c7c --- /dev/null +++ b/ct/komodo.sh @@ -0,0 +1,75 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://komo.do + +APP="Komodo" +var_tags="${var_tags:-docker}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-10}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +ADDON_SCRIPT="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/komodo.sh" + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -d /opt/komodo ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + msg_warn "⚠️ ${APP} has been migrated to an addon script." + echo "" + msg_info "This is a one-time migration. After this, you can update ${APP} anytime with:" + echo -e "${TAB}${TAB}${GN}update_komodo${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}" + echo "" + read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM + if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then + msg_warn "Migration skipped. The old update will continue to work for now." + msg_info "Updating ${APP} (legacy)" + COMPOSE_FILE=$(find /opt/komodo -maxdepth 1 -type f -name '*.compose.yaml' ! -name 'compose.env' | head -n1) + if [[ -z "$COMPOSE_FILE" ]]; then + msg_error "No valid compose file found in /opt/komodo!" + exit 1 + fi + $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env pull + $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env up -d + msg_ok "Updated ${APP}" + exit + fi + + msg_info "Migrating update function" + cat <<'MIGRATION_EOF' >/usr/bin/update +bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/komodo.sh)" +MIGRATION_EOF + chmod +x /usr/bin/update + + ln -sf /usr/bin/update /usr/bin/update_komodo 2>/dev/null || true + msg_ok "Migration complete" + + msg_info "Running addon update" + type=update bash <(curl -fsSL "${ADDON_SCRIPT}") + 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}:9120${CL}"