-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/usr/bin/env bash | ||
source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) | ||
# Copyright (c) 2021-2025 tteck | ||
# Author: tteck (tteckster) | ||
# License: MIT | https://github.com/asylumexp/Proxmox/raw/main/LICENSE | ||
# Source: https://runtipi.io/ | ||
|
||
# App Default Values | ||
APP="Beszel Hub" | ||
var_tags="os" | ||
var_cpu="2" | ||
var_ram="2048" | ||
var_disk="8" | ||
var_os="debian" | ||
var_version="12" | ||
var_unprivileged="1" | ||
|
||
# App Output & Base Settings | ||
header_info "$APP" | ||
base_settings | ||
|
||
# Core | ||
variables | ||
color | ||
catch_errors | ||
|
||
function update_script() { | ||
header_info | ||
check_container_storage | ||
check_container_resources | ||
if [[ ! -d /opt/beszel ]]; then | ||
msg_error "No ${APP} Installation Found!" | ||
exit | ||
fi | ||
cd /opt/beszel && ./beszel update | ||
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}${CL}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Copyright (c) 2021-2024 tteck | ||
# Author: tteck (tteckster) | ||
# License: MIT | ||
# https://github.com/tteck/Proxmox/raw/main/LICENSE | ||
|
||
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" | ||
color | ||
verb_ip6 | ||
catch_errors | ||
setting_up_container | ||
network_check | ||
update_os | ||
|
||
msg_info "Installing Dependencies" | ||
$STD apt-get install -y curl | ||
$STD apt-get install -y sudo | ||
$STD apt-get install -y mc | ||
$STD apt-get install -y wget | ||
$STD apt-get install -y openssh-server | ||
msg_ok "Installed Dependencies" | ||
|
||
msg_info "Installing Beszel Hub" | ||
cd /opt | ||
curl -sL https://raw.githubusercontent.com/henrygd/beszel/main/supplemental/scripts/install-hub.sh -o install.sh | ||
chmod +x install.sh | ||
$STD ./install.sh | ||
chmod 666 /opt/runtipi/state/settings.json | ||
msg_ok "Installed Beszel Hub" | ||
|
||
motd_ssh | ||
customize | ||
|
||
msg_info "Cleaning up" | ||
rm /opt/install.sh | ||
$STD apt-get -y autoremove | ||
$STD apt-get -y autoclean | ||
msg_ok "Cleaned" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"name": "Beszel Hub", | ||
"slug": "beszel-hub", | ||
"categories": [ | ||
8 | ||
], | ||
"date_created": "2025-01-18", | ||
"type": "ct", | ||
"updateable": true, | ||
"privileged": false, | ||
"interface_port": 8090, | ||
"documentation": null, | ||
"website": "https://beszel.dev", | ||
"logo": "https://runtipi.io/_next/static/media/tipi.c0b9b68e.png", | ||
"description": "Beszel is a lightweight server monitoring platform that includes Docker statistics, historical data, and alert functions.", | ||
"install_methods": [ | ||
{ | ||
"type": "default", | ||
"script": "ct/beszel-hub.sh", | ||
"resources": { | ||
"cpu": 2, | ||
"ram": 2048, | ||
"hdd": 8, | ||
"os": "debian", | ||
"version": "12" | ||
} | ||
} | ||
], | ||
"default_credentials": { | ||
"username": null, | ||
"password": null | ||
}, | ||
"notes": [], | ||
"status": "✅" | ||
} |