mirror of https://github.com/tteck/Proxmox.git
Compare commits
5 Commits
39d8721d36
...
4a1ccb5d3d
Author | SHA1 | Date |
---|---|---|
|
4a1ccb5d3d | |
|
6cb9e1db0a | |
|
bb965d681c | |
|
c349da6859 | |
|
7faf0443b1 |
|
@ -20,7 +20,7 @@ EOF
|
||||||
header_info
|
header_info
|
||||||
echo -e "Loading..."
|
echo -e "Loading..."
|
||||||
APP="Alpine-Grafana"
|
APP="Alpine-Grafana"
|
||||||
var_disk="0.5"
|
var_disk="1"
|
||||||
var_cpu="1"
|
var_cpu="1"
|
||||||
var_ram="256"
|
var_ram="256"
|
||||||
var_os="alpine"
|
var_os="alpine"
|
||||||
|
|
|
@ -20,8 +20,8 @@ header_info
|
||||||
echo -e "Loading..."
|
echo -e "Loading..."
|
||||||
APP="FlowiseAI"
|
APP="FlowiseAI"
|
||||||
var_disk="10"
|
var_disk="10"
|
||||||
var_cpu="2"
|
var_cpu="4"
|
||||||
var_ram="2048"
|
var_ram="4096"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="12"
|
||||||
variables
|
variables
|
||||||
|
@ -67,6 +67,10 @@ start
|
||||||
build_container
|
build_container
|
||||||
description
|
description
|
||||||
|
|
||||||
|
msg_info "Setting Container to Normal Resources"
|
||||||
|
pct set $CTID -memory 2048
|
||||||
|
pct set $CTID -cores 2
|
||||||
|
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"
|
||||||
|
|
|
@ -76,6 +76,7 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}
|
||||||
pnpm install
|
pnpm install
|
||||||
pnpm build
|
pnpm build
|
||||||
systemctl start homepage
|
systemctl start homepage
|
||||||
|
echo "${RELEASE}" >/opt/${APP}_version.txt
|
||||||
msg_ok "Updated Homepage to v${RELEASE}"
|
msg_ok "Updated Homepage to v${RELEASE}"
|
||||||
else
|
else
|
||||||
msg_ok "No update required. ${APP} is already at ${RELEASE}"
|
msg_ok "No update required. ${APP} is already at ${RELEASE}"
|
||||||
|
|
|
@ -37,7 +37,8 @@ $STD apt-get install -y \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-venv \
|
python3-venv \
|
||||||
python3-cffi \
|
python3-cffi \
|
||||||
python3-certbot
|
python3-certbot \
|
||||||
|
python3-certbot-dns-cloudflare
|
||||||
$STD pip3 install certbot-dns-multi
|
$STD pip3 install certbot-dns-multi
|
||||||
$STD python3 -m venv /opt/certbot/
|
$STD python3 -m venv /opt/certbot/
|
||||||
msg_ok "Installed Python Dependencies"
|
msg_ok "Installed Python Dependencies"
|
||||||
|
|
|
@ -205,7 +205,7 @@ advanced_settings() {
|
||||||
if var_version=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 3 \
|
if var_version=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 3 \
|
||||||
"20.04" "Focal" OFF \
|
"20.04" "Focal" OFF \
|
||||||
"22.04" "Jammy" OFF \
|
"22.04" "Jammy" OFF \
|
||||||
"23.10" "Mantic" OFF \
|
"24.04" "Noble" OFF \
|
||||||
3>&1 1>&2 2>&3); then
|
3>&1 1>&2 2>&3); then
|
||||||
if [ -n "$var_version" ]; then
|
if [ -n "$var_version" ]; then
|
||||||
echo -e "${DGN}Using $var_os Version: ${BGN}$var_version${CL}"
|
echo -e "${DGN}Using $var_os Version: ${BGN}$var_version${CL}"
|
||||||
|
|
Loading…
Reference in New Issue