forked from forkanization/Proxmox-arm64
Remove FlowiseAI unsupported notice
This commit is contained in:
141
ct/flowiseai.sh
141
ct/flowiseai.sh
@@ -1,77 +1,76 @@
|
|||||||
echo "Unsupported. View notes on GitHub."
|
#!/usr/bin/env bash
|
||||||
# #!/usr/bin/env bash
|
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
|
||||||
# source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
|
# Copyright (c) 2021-2024 tteck
|
||||||
# # Copyright (c) 2021-2024 tteck
|
# Author: tteck (tteckster)
|
||||||
# # Author: tteck (tteckster)
|
# License: MIT
|
||||||
# # License: MIT
|
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||||
# # https://github.com/tteck/Proxmox/raw/main/LICENSE
|
|
||||||
|
|
||||||
# function header_info {
|
function header_info {
|
||||||
# clear
|
clear
|
||||||
# cat <<"EOF"
|
cat <<"EOF"
|
||||||
# ________ _ ___ ____
|
________ _ ___ ____
|
||||||
# / ____/ /___ _ __(_)_______ / | / _/
|
/ ____/ /___ _ __(_)_______ / | / _/
|
||||||
# / /_ / / __ \ | /| / / / ___/ _ \/ /| | / /
|
/ /_ / / __ \ | /| / / / ___/ _ \/ /| | / /
|
||||||
# / __/ / / /_/ / |/ |/ / (__ ) __/ ___ |_/ /
|
/ __/ / / /_/ / |/ |/ / (__ ) __/ ___ |_/ /
|
||||||
# /_/ /_/\____/|__/|__/_/____/\___/_/ |_/___/
|
/_/ /_/\____/|__/|__/_/____/\___/_/ |_/___/
|
||||||
|
|
||||||
# EOF
|
EOF
|
||||||
# }
|
}
|
||||||
# header_info
|
header_info
|
||||||
# echo -e "Loading..."
|
echo -e "Loading..."
|
||||||
# APP="FlowiseAI"
|
APP="FlowiseAI"
|
||||||
# var_disk="10"
|
var_disk="10"
|
||||||
# var_cpu="4"
|
var_cpu="4"
|
||||||
# var_ram="4096"
|
var_ram="4096"
|
||||||
# var_os="debian"
|
var_os="debian"
|
||||||
# var_version="12"
|
var_version="12"
|
||||||
# variables
|
variables
|
||||||
# color
|
color
|
||||||
# catch_errors
|
catch_errors
|
||||||
|
|
||||||
# function default_settings() {
|
function default_settings() {
|
||||||
# CT_TYPE="1"
|
CT_TYPE="1"
|
||||||
# PW=""
|
PW=""
|
||||||
# CT_ID=$NEXTID
|
CT_ID=$NEXTID
|
||||||
# HN=$NSAPP
|
HN=$NSAPP
|
||||||
# DISK_SIZE="$var_disk"
|
DISK_SIZE="$var_disk"
|
||||||
# CORE_COUNT="$var_cpu"
|
CORE_COUNT="$var_cpu"
|
||||||
# RAM_SIZE="$var_ram"
|
RAM_SIZE="$var_ram"
|
||||||
# BRG="vmbr0"
|
BRG="vmbr0"
|
||||||
# NET="dhcp"
|
NET="dhcp"
|
||||||
# GATE=""
|
GATE=""
|
||||||
# APT_CACHER=""
|
APT_CACHER=""
|
||||||
# APT_CACHER_IP=""
|
APT_CACHER_IP=""
|
||||||
# DISABLEIP6="no"
|
DISABLEIP6="no"
|
||||||
# MTU=""
|
MTU=""
|
||||||
# SD=""
|
SD=""
|
||||||
# NS=""
|
NS=""
|
||||||
# MAC=""
|
MAC=""
|
||||||
# VLAN=""
|
VLAN=""
|
||||||
# SSH="no"
|
SSH="no"
|
||||||
# VERB="no"
|
VERB="no"
|
||||||
# echo_default
|
echo_default
|
||||||
# }
|
}
|
||||||
|
|
||||||
# function update_script() {
|
function update_script() {
|
||||||
# header_info
|
header_info
|
||||||
# if [[ ! -f /etc/systemd/system/flowise.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -f /etc/systemd/system/flowise.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
# msg_info "Updating ${APP}"
|
msg_info "Updating ${APP}"
|
||||||
# systemctl stop flowise
|
systemctl stop flowise
|
||||||
# npm install -g flowise --upgrade
|
npm install -g flowise --upgrade
|
||||||
# systemctl start flowise
|
systemctl start flowise
|
||||||
# msg_ok "Updated ${APP}"
|
msg_ok "Updated ${APP}"
|
||||||
# exit
|
exit
|
||||||
# }
|
}
|
||||||
|
|
||||||
# start
|
start
|
||||||
# build_container
|
build_container
|
||||||
# description
|
description
|
||||||
|
|
||||||
# msg_info "Setting Container to Normal Resources"
|
msg_info "Setting Container to Normal Resources"
|
||||||
# pct set $CTID -memory 2048
|
pct set $CTID -memory 2048
|
||||||
# pct set $CTID -cores 2
|
pct set $CTID -cores 2
|
||||||
# msg_ok "Set Container to Normal Resources"
|
msg_ok "Set Container to Normal Resources"
|
||||||
# msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
# echo -e "${APP} should be reachable by going to the following URL.
|
echo -e "${APP} should be reachable by going to the following URL.
|
||||||
# ${BL}http://${IP}:3000${CL} \n"
|
${BL}http://${IP}:3000${CL} \n"
|
||||||
|
|||||||
Reference in New Issue
Block a user