forked from forkanization/Proxmox-arm64
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:
@@ -9,7 +9,7 @@ APP="Nginx Proxy Manager"
|
|||||||
var_tags="proxy"
|
var_tags="proxy"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="1024"
|
var_ram="1024"
|
||||||
var_disk="4"
|
var_disk="12"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="12"
|
||||||
var_unprivileged="1"
|
var_unprivileged="1"
|
||||||
@@ -157,4 +157,4 @@ description
|
|||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${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}"
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ $STD apt-get install -y \
|
|||||||
python3-venv \
|
python3-venv \
|
||||||
python3-cffi \
|
python3-cffi \
|
||||||
python3-certbot \
|
python3-certbot \
|
||||||
python3-certbot-dns-cloudflare
|
python3-certbot-dns-cloudflare \
|
||||||
|
golang
|
||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
$STD pip3 install certbot-dns-multi==4.15.0
|
$STD pip3 install certbot-dns-multi==4.15.0
|
||||||
$STD python3 -m venv /opt/certbot/
|
$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)"
|
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
|
||||||
|
|
||||||
msg_info "Installing Openresty"
|
msg_info "Installing Openresty"
|
||||||
wget -qO - https://openresty.org/package/pubkey.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg
|
wget -O - https://openresty.org/package/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty.gpg
|
||||||
echo -e "deb http://openresty.org/package/debian bullseye openresty" >/etc/apt/sources.list.d/openresty.list
|
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 update
|
||||||
$STD apt-get -y install openresty
|
$STD apt-get -y install openresty
|
||||||
msg_ok "Installed Openresty"
|
msg_ok "Installed Openresty"
|
||||||
|
|||||||
Reference in New Issue
Block a user