mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-30 20:19:48 +01:00
Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7140dadc28 | ||
|
|
1de85114ca | ||
|
|
179f0082ac | ||
|
|
6f79e0fb37 | ||
|
|
0352651dea | ||
|
|
770e12cbf2 | ||
|
|
00cf085cb1 | ||
|
|
d4ab0ccb77 | ||
|
|
f607c23aa3 |
No files matched your search
+9
-1
@@ -594,7 +594,11 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Langfuse [@steveonjava](https://github.com/steveonjava) ([#19144](https://github.com/community-scripts/ProxmoxVE/pull/19144))
|
||||
- Warpgate [@MickLesk](https://github.com/MickLesk) ([#19218](https://github.com/community-scripts/ProxmoxVE/pull/19218))
|
||||
- Obico [@a55uka](https://github.com/a55uka) ([#19217](https://github.com/community-scripts/ProxmoxVE/pull/19217))
|
||||
- agentgateway [@andy-vdg](https://github.com/andy-vdg) ([#19216](https://github.com/community-scripts/ProxmoxVE/pull/19216))
|
||||
- Roundcube [@MickLesk](https://github.com/MickLesk) ([#19214](https://github.com/community-scripts/ProxmoxVE/pull/19214))
|
||||
- Langfuse [@steveonjava](https://github.com/steveonjava) ([#19144](https://github.com/community-scripts/ProxmoxVE/pull/19144))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
@@ -608,6 +612,10 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
- nocobase: bump Node.js from 22 to 24 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19194](https://github.com/community-scripts/ProxmoxVE/pull/19194))
|
||||
- formbricks: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19193](https://github.com/community-scripts/ProxmoxVE/pull/19193))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- Frigate: install without the Intel media driver when Intel's repository is unreachable [@MickLesk](https://github.com/MickLesk) ([#19063](https://github.com/community-scripts/ProxmoxVE/pull/19063))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- vm_alloc_efi_disk: pass a failed qm set on | Let Proxmox allocate and initialize the VM EFI disk [@MickLesk](https://github.com/MickLesk) ([core#327](https://github.com/community-scripts/core/pull/327))
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: andy-vdg
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://agentgateway.dev/
|
||||
|
||||
APP="agentgateway"
|
||||
var_tags="${var_tags:-ai;proxy;mcp}"
|
||||
var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-512}"
|
||||
var_disk="${var_disk:-2}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
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 /etc/agentgateway/config.yaml ]]; then
|
||||
msg_error "No agentgateway Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "agentgateway" "agentgateway/agentgateway"; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop agentgateway
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
create_backup /etc/agentgateway /opt/agentgateway_data
|
||||
|
||||
fetch_and_deploy_gh_release "agentgateway" "agentgateway/agentgateway" "singlefile" "latest" "/opt/agentgateway" "agentgateway-linux-$(arch_resolve "amd64" "arm64")"
|
||||
|
||||
restore_backup
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start agentgateway
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
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 "${GATEWAY}${BGN}http://${IP}:4000/ui${CL}"
|
||||
@@ -0,0 +1,65 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/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://github.com/roundcube/roundcubemail
|
||||
|
||||
APP="Roundcube"
|
||||
var_tags="${var_tags:-mail;webmail}"
|
||||
var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-512}"
|
||||
var_disk="${var_disk:-4}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
export var_imap_host="${var_imap_host:-}"
|
||||
export var_smtp_host="${var_smtp_host:-}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/roundcube ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "roundcube" "roundcube/roundcubemail"; then
|
||||
msg_info "Stopping Roundcube"
|
||||
systemctl stop nginx
|
||||
msg_ok "Stopped Roundcube"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "roundcube" "roundcube/roundcubemail" "prebuild" "latest" "/opt/roundcube_update" "roundcubemail-*-complete.tar.gz"
|
||||
|
||||
msg_info "Updating Roundcube"
|
||||
$STD php /opt/roundcube_update/bin/installto.sh -y /opt/roundcube
|
||||
rm -rf /opt/roundcube_update
|
||||
chown -R www-data:www-data /opt/roundcube /opt/roundcube_data
|
||||
msg_ok "Updated Roundcube"
|
||||
|
||||
msg_info "Starting Roundcube"
|
||||
systemctl start nginx
|
||||
msg_ok "Started Roundcube"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
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 "${GATEWAY}${BGN}http://${IP}${CL}"
|
||||
@@ -0,0 +1,59 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/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://github.com/warp-tech/warpgate
|
||||
|
||||
APP="Warpgate"
|
||||
var_tags="${var_tags:-bastion;ssh;security}"
|
||||
var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-512}"
|
||||
var_disk="${var_disk:-4}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
export var_admin_pass="${var_admin_pass:-}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -f /opt/warpgate/warpgate ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "warpgate" "warp-tech/warpgate"; then
|
||||
msg_info "Stopping Warpgate"
|
||||
systemctl stop warpgate
|
||||
msg_ok "Stopped Warpgate"
|
||||
|
||||
fetch_and_deploy_gh_release "warpgate" "warp-tech/warpgate" "singlefile" "latest" "/opt/warpgate" "warpgate-v*-$(arch_resolve "x86_64" "arm64")-linux"
|
||||
|
||||
msg_info "Starting Warpgate"
|
||||
systemctl start warpgate
|
||||
msg_ok "Started Warpgate"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
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 "${GATEWAY}${BGN}https://${IP}:8888/@warpgate${CL}"
|
||||
echo -e "${INFO}${YW}Admin login: admin, password in /opt/warpgate_data/.env (inside the container)${CL}"
|
||||
@@ -0,0 +1,59 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: andy-vdg
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://agentgateway.dev/
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
fetch_and_deploy_gh_release "agentgateway" "agentgateway/agentgateway" "singlefile" "latest" "/opt/agentgateway" "agentgateway-linux-$(arch_resolve "amd64" "arm64")"
|
||||
|
||||
msg_info "Configuring agentgateway"
|
||||
mkdir -p /etc/agentgateway /opt/agentgateway_data
|
||||
cat <<EOF >/etc/agentgateway/config.yaml
|
||||
# yaml-language-server: \$schema=https://agentgateway.dev/schema/config
|
||||
# The config agentgateway bootstraps on first run: traffic and the UI on port 4000,
|
||||
# state in SQLite. The UI has no login until you add policies:
|
||||
# https://agentgateway.dev/docs/standalone/latest/documentation/setup/ui/secure-ui/
|
||||
config:
|
||||
database:
|
||||
url: sqlite:///opt/agentgateway_data/data.db
|
||||
gateways:
|
||||
default:
|
||||
port: 4000
|
||||
ui:
|
||||
gateways: default
|
||||
EOF
|
||||
chmod 600 /etc/agentgateway/config.yaml
|
||||
msg_ok "Configured agentgateway"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/agentgateway.service
|
||||
[Unit]
|
||||
Description=agentgateway
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
ExecStart=/opt/agentgateway/agentgateway -f /etc/agentgateway/config.yaml
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now agentgateway
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -124,15 +124,18 @@ msg_ok "Built SQLite Extensions"
|
||||
|
||||
if [[ "$(arch_resolve)" == "amd64" ]]; then
|
||||
msg_info "Building Intel Media Driver (Patience)"
|
||||
download_gpg_key "https://repositories.intel.com/gpu/intel-graphics.key" "/usr/share/keyrings/intel-graphics.gpg" "dearmor"
|
||||
sed -i '/intel-graphics.key/d' /opt/frigate/docker/main/build_intel_media_driver.sh
|
||||
$STD bash /opt/frigate/docker/main/build_intel_media_driver.sh
|
||||
cp -a /rootfs/. /
|
||||
rm -rf /rootfs
|
||||
rm -f /etc/apt/sources.list.d/intel-gpu-jammy.list /usr/share/keyrings/intel-graphics.gpg
|
||||
apt_update_safe
|
||||
ldconfig
|
||||
msg_ok "Built Intel Media Driver"
|
||||
if download_gpg_key "https://repositories.intel.com/gpu/intel-graphics.key" "/usr/share/keyrings/intel-graphics.gpg" "dearmor"; then
|
||||
sed -i '/intel-graphics.key/d' /opt/frigate/docker/main/build_intel_media_driver.sh
|
||||
$STD bash /opt/frigate/docker/main/build_intel_media_driver.sh
|
||||
cp -a /rootfs/. /
|
||||
rm -rf /rootfs
|
||||
rm -f /etc/apt/sources.list.d/intel-gpu-jammy.list /usr/share/keyrings/intel-graphics.gpg
|
||||
apt_update_safe
|
||||
ldconfig
|
||||
msg_ok "Built Intel Media Driver"
|
||||
else
|
||||
msg_warn "Intel's package repository cannot be reached from this network; Frigate is installed without the Intel media driver"
|
||||
fi
|
||||
fi
|
||||
|
||||
fetch_and_deploy_gh_release "go2rtc" "AlexxIT/go2rtc" "singlefile" "v1.9.14" "/usr/local/go2rtc/bin" "go2rtc_linux_$(arch_resolve)"
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/roundcube/roundcubemail
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y nginx rsync
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="ldap" setup_php
|
||||
fetch_and_deploy_gh_release "roundcube" "roundcube/roundcubemail" "prebuild" "latest" "/opt/roundcube" "roundcubemail-*-complete.tar.gz"
|
||||
|
||||
msg_info "Configuring Roundcube"
|
||||
mkdir -p /opt/roundcube_data
|
||||
cat <<EOF >/opt/roundcube/config/config.inc.php
|
||||
<?php
|
||||
\$config = [];
|
||||
\$config['db_dsnw'] = 'sqlite:////opt/roundcube_data/roundcube.db?mode=0640';
|
||||
\$config['imap_host'] = '${var_imap_host:-}';
|
||||
\$config['smtp_host'] = '${var_smtp_host:-%h:587}';
|
||||
\$config['smtp_user'] = '%u';
|
||||
\$config['smtp_pass'] = '%p';
|
||||
\$config['product_name'] = 'Roundcube Webmail';
|
||||
\$config['des_key'] = '$(random_password 24)';
|
||||
\$config['plugins'] = ['archive', 'zipdownload'];
|
||||
\$config['skin'] = 'elastic';
|
||||
EOF
|
||||
rm -rf /opt/roundcube/installer
|
||||
chown -R www-data:www-data /opt/roundcube /opt/roundcube_data
|
||||
chmod 640 /opt/roundcube/config/config.inc.php
|
||||
cd /opt/roundcube
|
||||
$STD runuser -u www-data -- php bin/initdb.sh --dir=SQL --update
|
||||
msg_ok "Configured Roundcube"
|
||||
|
||||
msg_info "Configuring Nginx"
|
||||
PHP_SOCK=$(get_php_fpm_socket)
|
||||
cat <<EOF >/etc/nginx/sites-available/roundcube
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name _;
|
||||
|
||||
root /opt/roundcube/public_html;
|
||||
index index.php;
|
||||
|
||||
client_max_body_size 128M;
|
||||
|
||||
location = /favicon.ico {
|
||||
rewrite ^ /static.php/skins/elastic/images/favicon.ico last;
|
||||
}
|
||||
location / {
|
||||
try_files \$uri \$uri/ /index.php\$is_args\$args;
|
||||
}
|
||||
location ~ \.php(/|\$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)\$;
|
||||
set \$path_info \$fastcgi_path_info;
|
||||
try_files \$fastcgi_script_name =404;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO \$path_info;
|
||||
fastcgi_pass unix:${PHP_SOCK};
|
||||
}
|
||||
location ~ /\. {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
EOF
|
||||
nginx_enable_site "roundcube"
|
||||
msg_ok "Configured Nginx"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -0,0 +1,59 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/warp-tech/warpgate
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
fetch_and_deploy_gh_release "warpgate" "warp-tech/warpgate" "singlefile" "latest" "/opt/warpgate" "warpgate-v*-$(arch_resolve "x86_64" "arm64")-linux"
|
||||
|
||||
msg_info "Configuring Warpgate"
|
||||
ADMIN_PASS="${var_admin_pass:-$(random_password)}"
|
||||
mkdir -p /opt/warpgate_data
|
||||
cat <<EOF >/opt/warpgate_data/.env
|
||||
WARPGATE_ADMIN_USER=admin
|
||||
WARPGATE_ADMIN_PASSWORD=${ADMIN_PASS}
|
||||
EOF
|
||||
chmod 600 /opt/warpgate_data/.env
|
||||
WARPGATE_ADMIN_PASSWORD="$ADMIN_PASS" $STD /opt/warpgate/warpgate --config /opt/warpgate_data/warpgate.yaml unattended-setup \
|
||||
--data-path /opt/warpgate_data \
|
||||
--http-port 8888 \
|
||||
--ssh-port 2222 \
|
||||
--mysql-port 33306 \
|
||||
--postgres-port 55432 \
|
||||
--kubernetes-port 8443 \
|
||||
--record-sessions
|
||||
# A host kernel booted without IPv6 cannot bind [::]
|
||||
[[ -d /proc/sys/net/ipv6 ]] || sed -i "s/'\[::\]:/'0.0.0.0:/" /opt/warpgate_data/warpgate.yaml
|
||||
msg_ok "Configured Warpgate"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/warpgate.service
|
||||
[Unit]
|
||||
Description=Warpgate
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/opt/warpgate/warpgate --config /opt/warpgate_data/warpgate.yaml run
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now warpgate
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
Reference in new issue
Block a user