Merge branch 'balves42/main' into main

Will close #114

Co-Authored-By: Bruno Alves <57677900+balves42@users.noreply.github.com>
This commit is contained in:
Sam Heinz
2025-03-04 17:50:17 +10:00
2 changed files with 7 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ APP="Nginx Proxy Manager"
var_tags="proxy"
var_cpu="2"
var_ram="1024"
var_disk="4"
var_disk="12"
var_os="debian"
var_version="12"
var_unprivileged="1"
@@ -157,4 +157,4 @@ 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}:81${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:81${CL}"

View File

@@ -39,7 +39,8 @@ $STD apt-get install -y \
python3-venv \
python3-cffi \
python3-certbot \
python3-certbot-dns-cloudflare
python3-certbot-dns-cloudflare \
golang
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
$STD pip3 install certbot-dns-multi==4.15.0
$STD python3 -m venv /opt/certbot/
@@ -48,8 +49,9 @@ msg_ok "Installed Python Dependencies"
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
msg_info "Installing Openresty"
wget -qO - https://openresty.org/package/pubkey.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg
echo -e "deb http://openresty.org/package/debian bullseye openresty" >/etc/apt/sources.list.d/openresty.list
wget -O - https://openresty.org/package/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty.gpg
codename=`grep -Po 'VERSION="[0-9]+ \(\K[^)]+' /etc/os-release`
echo "deb http://openresty.org/package/arm64/debian $codename openresty" | sudo tee /etc/apt/sources.list.d/openresty.list
$STD apt-get update
$STD apt-get -y install openresty
msg_ok "Installed Openresty"