Compare commits

...

17 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
4b275ae911 Update CHANGELOG.md (#3883) 2025-04-14 21:06:33 +02:00
community-scripts-pr-app[bot]
b25b823d69 Update versions.json (#3879) 2025-04-14 21:04:59 +02:00
CanbiZ
d7757aa5d1 Omada: Increase RAM to 3GB and little improvements (#3885) 2025-04-14 21:04:40 +02:00
community-scripts-pr-app[bot]
5def868c67 Update .app files (#3884)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2025-04-14 16:04:29 +02:00
push-app-to-main[bot]
b87871f56c openziti-controller (#3880)
* 'Add new script'

* adjust date

* change curl to harmonize

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2025-04-14 15:42:39 +02:00
community-scripts-pr-app[bot]
4403635733 Update CHANGELOG.md (#3882)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-14 15:15:45 +02:00
CanbiZ
2fd847215c Refactor Cockpit update_script part (#3878)
* Update cockpit.sh

* formatting
2025-04-14 15:14:31 +02:00
community-scripts-pr-app[bot]
6e2cb8d4e2 Update .app files (#3881)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2025-04-14 15:13:51 +02:00
Slaviša Arežina
173bc7201c Neo4j: Add Java dependency (#3871)
* Add Java dependency

* update

* Update neo4j-install.sh

* Update neo4j.sh

* update

---------

Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2025-04-14 15:12:28 +02:00
CanbiZ
54b794da54 Alpine-AdGuardHome (#3875)
* Alpine-AdGuardHome

* modify tag

* Update alpine-adguard.sh
2025-04-14 15:10:36 +02:00
community-scripts-pr-app[bot]
203d022db5 Update CHANGELOG.md (#3874)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-14 09:23:39 +02:00
CanbiZ
97c05542d6 add missing redis dependency 2025-04-14 09:23:09 +02:00
Nícolas Pastorello
20e5b1a2bf Paymenter: bump php to 8.3 (#3825)
* Update paymenter.json

* Update paymenter-install.sh

* Update paymenter.json

Updated json notes

* Update paymenter-install.sh

* Update paymenter-install.sh

* Update paymenter-install.sh

* Update paymenter.sh

---------

Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2025-04-14 09:17:39 +02:00
community-scripts-pr-app[bot]
e5800a0ec5 Update versions.json (#3869)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-14 09:06:04 +02:00
CanbiZ
21bdf2a828 Paymeter: bump php to 8.4 2025-04-14 09:00:16 +02:00
community-scripts-pr-app[bot]
2551cb4b22 Update versions.json (#3863)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-13 20:04:15 +02:00
community-scripts-pr-app[bot]
0cb6ea8e4a Update versions.json (#3859) 2025-04-13 13:12:51 +02:00
19 changed files with 582 additions and 243 deletions

View File

@@ -14,6 +14,25 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment. All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
## 2025-04-14
### 🆕 New Scripts
- openziti-controller ([#3880](https://github.com/community-scripts/ProxmoxVE/pull/3880))
- Alpine-AdGuardHome [@MickLesk](https://github.com/MickLesk) ([#3875](https://github.com/community-scripts/ProxmoxVE/pull/3875))
### 🚀 Updated Scripts
- Paymenter: bump php to 8.3 [@opastorello](https://github.com/opastorello) ([#3825](https://github.com/community-scripts/ProxmoxVE/pull/3825))
- #### 🐞 Bug Fixes
- Neo4j: Add Java dependency [@tremor021](https://github.com/tremor021) ([#3871](https://github.com/community-scripts/ProxmoxVE/pull/3871))
- #### 🔧 Refactor
- Refactor Cockpit update_script part [@MickLesk](https://github.com/MickLesk) ([#3878](https://github.com/community-scripts/ProxmoxVE/pull/3878))
## 2025-04-12 ## 2025-04-12
### 🌐 Website ### 🌐 Website

47
ct/alpine-adguard.sh Normal file
View File

@@ -0,0 +1,47 @@
#!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://adguardhome.com/
APP="Alpine-AdGuard"
var_tags="${var_tags:-alpine;adblock}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-256}"
var_disk="${var_disk:-1}"
var_os="${var_os:-alpine}"
var_version="${var_version:-3.21}"
var_unprivileged="${var_unprivileged:-1}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
msg_info "Updating Alpine Packages"
$STD apk update
$STD apk upgrade
msg_ok "Updated Alpine Packages"
msg_info "Updating AdGuard Home"
$STD /opt/AdGuardHome/AdGuardHome --update
msg_ok "Updated AdGuard Home"
msg_info "Restarting AdGuard Home"
$STD rc-service adguardhome restart
msg_ok "Restarted AdGuard Home"
exit 0
}
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}:3000${CL}"

View File

@@ -41,44 +41,56 @@ function update_script() {
msg_ok "Updated ${APP} LXC" msg_ok "Updated ${APP} LXC"
exit exit
fi fi
if [ "$UPD" == "2" ]; then if [ "$UPD" == "2" ]; then
msg_info "Installing dependencies (patience)" msg_info "Installing dependencies (patience)"
$STD apt-get install -y attr $STD apt-get install -y \
$STD apt-get install -y nfs-kernel-server attr \
$STD apt-get install -y samba nfs-kernel-server \
$STD apt-get install -y samba-common-bin samba \
$STD apt-get install -y winbind samba-common-bin \
$STD apt-get install -y gawk winbind \
gawk
msg_ok "Installed dependencies" msg_ok "Installed dependencies"
msg_info "Installing Cockpit file sharing" msg_info "Installing Cockpit file sharing"
curl -fsSL "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-file-sharing/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)" -o $(basename "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-file-sharing/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)") URL=$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-file-sharing/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)
$STD dpkg -i cockpit-file-sharing_*focal_all.deb FILE=$(basename "$URL")
rm cockpit-file-sharing_*focal_all.deb curl -fsSL "$URL" -o "$FILE"
$STD dpkg -i "$FILE" || $STD apt-get install -f -y
rm -f "$FILE"
msg_ok "Installed Cockpit file sharing" msg_ok "Installed Cockpit file sharing"
exit exit
fi fi
if [ "$UPD" == "3" ]; then if [ "$UPD" == "3" ]; then
msg_info "Installing dependencies (patience)" msg_info "Installing dependencies (patience)"
$STD apt-get install -y psmisc $STD apt-get install -y \
$STD apt-get install -y samba psmisc \
$STD apt-get install -y samba-common-bin samba \
samba-common-bin
msg_ok "Installed dependencies" msg_ok "Installed dependencies"
msg_info "Installing Cockpit identities" msg_info "Installing Cockpit identities"
curl -fsSL "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-identities/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)" -o $(basename "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-identities/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)") URL=$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-identities/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)
$STD dpkg -i cockpit-identities_*focal_all.deb FILE=$(basename "$URL")
rm cockpit-identities_*focal_all.deb curl -fsSL "$URL" -o "$FILE"
$STD dpkg -i "$FILE" || $STD apt-get install -f -y
rm -f "$FILE"
msg_ok "Installed Cockpit identities" msg_ok "Installed Cockpit identities"
exit exit
fi fi
if [ "$UPD" == "4" ]; then if [ "$UPD" == "4" ]; then
msg_info "Installing dependencies" msg_info "Installing dependencies"
$STD apt-get install -y rsync $STD apt-get install -y \
$STD apt-get install -y zip rsync \
zip
msg_ok "Installed dependencies" msg_ok "Installed dependencies"
msg_info "Installing Cockpit navigator" msg_info "Installing Cockpit navigator"
curl -fsSL "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-navigator/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)" -o $(basename "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-navigator/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)") URL=$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-navigator/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)
$STD dpkg -i cockpit-navigator_*focal_all.deb FILE=$(basename "$URL")
rm cockpit-navigator_*focal_all.deb curl -fsSL "$URL" -o "$FILE"
$STD dpkg -i "$FILE" || $STD apt-get install -f -y
rm -f "$FILE"
msg_ok "Installed Cockpit navigator" msg_ok "Installed Cockpit navigator"
exit exit
fi fi

View File

@@ -0,0 +1,6 @@
___ __ _ ___ ________ __
/ | / /___ (_)___ ___ / | ____/ / ____/_ ______ __________/ /
/ /| | / / __ \/ / __ \/ _ \______/ /| |/ __ / / __/ / / / __ `/ ___/ __ /
/ ___ |/ / /_/ / / / / / __/_____/ ___ / /_/ / /_/ / /_/ / /_/ / / / /_/ /
/_/ |_/_/ .___/_/_/ /_/\___/ /_/ |_\__,_/\____/\__,_/\__,_/_/ \__,_/
/_/

View File

@@ -0,0 +1,6 @@
_ __ _ __ ____
____ ____ ___ ____ ____ (_) /_(_) _________ ____ / /__________ / / /__ _____
/ __ \/ __ \/ _ \/ __ \/_ / / / __/ /_____/ ___/ __ \/ __ \/ __/ ___/ __ \/ / / _ \/ ___/
/ /_/ / /_/ / __/ / / / / /_/ / /_/ /_____/ /__/ /_/ / / / / /_/ / / /_/ / / / __/ /
\____/ .___/\___/_/ /_/ /___/_/\__/_/ \___/\____/_/ /_/\__/_/ \____/_/_/\___/_/
/_/

View File

@@ -27,6 +27,18 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
if ! dpkg -l | grep -q temurin-21-jre; then
msg_info "Installing Adoptium JDK"
$STD apt-get install -y \
gnupg2 \
lsb-release
mkdir -p /etc/apt/keyrings
curl -fsSL https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor >/etc/apt/trusted.gpg.d/adoptium.gpg
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" >/etc/apt/sources.list.d/adoptium.list
$STD apt-get update
$STD apt-get install -y temurin-21-jre
msg_ok "Adoptium JDK installed"
fi
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
$STD apt-get update $STD apt-get update
$STD apt-get -y upgrade $STD apt-get -y upgrade

View File

@@ -8,7 +8,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
APP="Omada" APP="Omada"
var_tags="${var_tags:-tp-link;controller}" var_tags="${var_tags:-tp-link;controller}"
var_cpu="${var_cpu:-2}" var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}" var_ram="${var_ram:-3072}"
var_disk="${var_disk:-8}" var_disk="${var_disk:-8}"
var_os="${var_os:-debian}" var_os="${var_os:-debian}"
var_version="${var_version:-12}" var_version="${var_version:-12}"
@@ -53,17 +53,18 @@ function update_script() {
fi fi
msg_info "Updating Omada Controller" msg_info "Updating Omada Controller"
latest_url=$(curl -fsSL "https://support.omadanetworks.com/en/download/software/omada-controller/" | grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | head -n 1) OMADA_URL=$(curl -fsSL "https://support.omadanetworks.com/en/download/software/omada-controller/" |
latest_version=$(basename "$latest_url") grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' |
if [ -z "${latest_version}" ]; then head -n1)
msg_error "It seems that the server (tp-link.com) might be down. Please try again at a later time." OMADA_PKG=$(basename "$OMADA_URL")
exit if [ -z "$OMADA_PKG" ]; then
msg_error "Could not retrieve Omada package server may be down."
exit 1
fi fi
curl -fsSL "$OMADA_URL" -o "$OMADA_PKG"
curl -fsSL "${latest_url}" -O
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
$STD dpkg -i ${latest_version} $STD dpkg -i "$OMADA_PKG"
rm -rf ${latest_version} rm -f "$OMADA_PKG"
msg_ok "Updated Omada Controller" msg_ok "Updated Omada Controller"
} }

44
ct/openziti-controller.sh Normal file
View File

@@ -0,0 +1,44 @@
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: emoscardini
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/openziti/ziti
APP="openziti-controller"
var_tags="network;openziti-controller"
var_cpu="2"
var_ram="1024"
var_disk="8"
var_os="debian"
var_version="12"
var_unprivileged="1"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/openziti ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
$STD apt-get update
$STD apt-get -y upgrade
msg_ok "Updated $APP LXC"
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}https://${IP}:<port>/zac${CL}"

View File

@@ -28,11 +28,26 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
CURRENT_PHP=$(php -v 2>/dev/null | awk '/^PHP/{print $2}' | cut -d. -f1,2)
if [[ "$CURRENT_PHP" != "8.3" ]]; then
msg_info "Migrating PHP $CURRENT_PHP to 8.3"
$STD curl -fsSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
$STD dpkg -i /tmp/debsuryorg-archive-keyring.deb
$STD sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
$STD apt-get update
$STD apt-get remove -y php"${CURRENT_PHP//./}"*
$STD apt-get install -y \
php8.3 \
php8.3-{common,cli,gd,mysql,mbstring,bcmath,xml,curl,zip,intl,redis,fpm}
sed -i 's|php8\.2-fpm\.sock|php8.3-fpm.sock|g' /etc/nginx/sites-available/paymenter.conf
$STD systemctl reload nginx
msg_ok "Migrated PHP $CURRENT_PHP to 8.3"
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/paymenter/paymenter/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/') RELEASE=$(curl -fsSL https://api.github.com/repos/paymenter/paymenter/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/')
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
msg_info "Updating ${APP} to ${RELEASE}" msg_info "Updating ${APP} to ${RELEASE}"
echo "${RELEASE}" >/opt/${APP}_version.txt echo "${RELEASE}" >/opt/${APP}_version.txt
cd /opt/paymenter cd /opt/paymenter || exit
$STD php artisan p:upgrade --no-interaction $STD php artisan p:upgrade --no-interaction
msg_ok "Updated Successfully" msg_ok "Updated Successfully"
else else

View File

@@ -24,6 +24,17 @@
"os": "debian", "os": "debian",
"version": "12" "version": "12"
} }
},
{
"type": "alpine",
"script": "ct/alpine-adguard.sh",
"resources": {
"cpu": 1,
"ram": 256,
"hdd": 1,
"os": "alpine",
"version": "3.21"
}
} }
], ],
"default_credentials": { "default_credentials": {

View File

@@ -19,7 +19,7 @@
"script": "ct/omada.sh", "script": "ct/omada.sh",
"resources": { "resources": {
"cpu": 2, "cpu": 2,
"ram": 2048, "ram": 3072,
"hdd": 8, "hdd": 8,
"os": "debian", "os": "debian",
"version": "12" "version": "12"

View File

@@ -0,0 +1,39 @@
{
"name": "openziti-controller",
"slug": "openziti-controller",
"categories": [
4
],
"date_created": "2025-04-14",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": null,
"documentation": "https://openziti.io/docs/reference/tunnelers/docker/",
"website": "https://www.openziti.io/",
"logo": "https://raw.githubusercontent.com/openziti/ziti-doc/main/docusaurus/static/img/ziti-logo-dark.svg",
"description": "OpenZiti is an open-source, zero trust networking platform that enables secure connectivity between applications, services, and devices. It provides secure, encrypted connections between clients and services, and can be used to create secure, zero trust networks.",
"install_methods": [
{
"type": "default",
"script": "ct/openziti-controller.sh",
"resources": {
"cpu": 2,
"ram": 1024,
"hdd": 8,
"os": "debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "The Openziti Controller installation will prompt for configuration settings during installation.",
"type": "info"
}
]
}

View File

@@ -30,5 +30,10 @@
"username": "admin@paymenter.org", "username": "admin@paymenter.org",
"password": "paymenter" "password": "paymenter"
}, },
"notes": [] "notes": [
{
"text": "After installation, navigate to the directory with `cd /opt/paymenter` and run `php artisan app:init`. An interactive setup will prompt you to enter your company name and application URL.",
"type": "info"
}
]
} }

View File

@@ -1,8 +1,163 @@
[ [
{
"name": "Graylog2/graylog2-server",
"version": "6.2.0-rc.1",
"date": "2025-04-14T11:26:18Z"
},
{ {
"name": "fhem/fhem-mirror", "name": "fhem/fhem-mirror",
"version": "6.2", "version": "6.2",
"date": "2025-04-12T10:30:19Z" "date": "2025-04-14T10:36:18Z"
},
{
"name": "bluenviron/mediamtx",
"version": "v1.12.0",
"date": "2025-04-14T10:36:04Z"
},
{
"name": "Stirling-Tools/Stirling-PDF",
"version": "v0.45.5",
"date": "2025-04-14T09:57:39Z"
},
{
"name": "open-webui/open-webui",
"version": "v0.6.5",
"date": "2025-04-14T09:13:36Z"
},
{
"name": "zwave-js/zwave-js-ui",
"version": "v10.2.0",
"date": "2025-04-14T08:53:44Z"
},
{
"name": "zabbix/zabbix",
"version": "6.0.40rc1",
"date": "2025-04-14T08:45:46Z"
},
{
"name": "duplicati/duplicati",
"version": "v2.1.0.114-2.1.0.114_canary_2025-04-14",
"date": "2025-04-14T07:54:21Z"
},
{
"name": "evcc-io/evcc",
"version": "0.203.1",
"date": "2025-04-14T07:23:02Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.1",
"date": "2025-01-01T16:15:52Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.1775",
"date": "2025-04-14T05:59:53Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.2.10",
"date": "2025-03-22T13:02:26Z"
},
{
"name": "glanceapp/glance",
"version": "v0.7.12",
"date": "2025-04-14T00:16:15Z"
},
{
"name": "ellite/Wallos",
"version": "v2.49.1",
"date": "2025-04-13T22:36:24Z"
},
{
"name": "rogerfar/rdt-client",
"version": "v2.0.108",
"date": "2025-04-13T22:17:55Z"
},
{
"name": "autobrr/autobrr",
"version": "v1.61.0",
"date": "2025-04-13T21:14:40Z"
},
{
"name": "Ombi-app/Ombi",
"version": "v4.47.1",
"date": "2025-01-05T21:14:23Z"
},
{
"name": "pocket-id/pocket-id",
"version": "v0.46.0",
"date": "2025-04-13T18:31:13Z"
},
{
"name": "runtipi/runtipi",
"version": "v3.10.0",
"date": "2025-03-15T14:38:16Z"
},
{
"name": "keycloak/keycloak",
"version": "26.2.0",
"date": "2025-04-11T12:48:27Z"
},
{
"name": "karakeep-app/karakeep",
"version": "mcp/v0.23.4",
"date": "2025-04-13T14:09:19Z"
},
{
"name": "syncthing/syncthing",
"version": "v2.0.0-beta.9",
"date": "2025-04-12T13:58:29Z"
},
{
"name": "qbittorrent/qBittorrent",
"version": "release-5.0.5",
"date": "2025-04-13T07:55:55Z"
},
{
"name": "Lidarr/Lidarr",
"version": "v2.10.3.4602",
"date": "2025-03-23T11:00:37Z"
},
{
"name": "Readarr/Readarr",
"version": "v2.0.0.4645",
"date": "2017-03-07T18:56:06Z"
},
{
"name": "Prowlarr/Prowlarr",
"version": "v1.33.3.5008",
"date": "2025-04-09T17:58:37Z"
},
{
"name": "Radarr/Radarr",
"version": "v5.21.1.9799",
"date": "2025-03-24T15:52:12Z"
},
{
"name": "slskd/slskd",
"version": "0.22.4",
"date": "2025-04-13T00:14:13Z"
},
{
"name": "Tautulli/Tautulli",
"version": "v2.15.2",
"date": "2025-04-12T23:27:51Z"
},
{
"name": "StarFleetCPTN/GoMFT",
"version": "v0.2.11",
"date": "2025-04-12T21:13:08Z"
},
{
"name": "semaphoreui/semaphore",
"version": "v2.14.0-beta1",
"date": "2025-04-12T20:14:09Z"
},
{
"name": "MediaBrowser/Emby.Releases",
"version": "4.8.11.0",
"date": "2025-03-10T06:39:11Z"
}, },
{ {
"name": "home-assistant/core", "name": "home-assistant/core",
@@ -14,26 +169,6 @@
"version": "0.18.0", "version": "0.18.0",
"date": "2025-04-12T08:55:32Z" "date": "2025-04-12T08:55:32Z"
}, },
{
"name": "runtipi/runtipi",
"version": "nightly",
"date": "2025-04-08T07:12:33Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.1767",
"date": "2025-04-12T06:06:09Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.1",
"date": "2025-01-01T16:15:52Z"
},
{
"name": "StarFleetCPTN/GoMFT",
"version": "v0.2.10",
"date": "2025-04-12T01:53:46Z"
},
{ {
"name": "Bubka/2FAuth", "name": "Bubka/2FAuth",
"version": "v5.5.2", "version": "v5.5.2",
@@ -49,11 +184,6 @@
"version": "v4.0.8", "version": "v4.0.8",
"date": "2025-04-03T05:11:15Z" "date": "2025-04-03T05:11:15Z"
}, },
{
"name": "firefly-iii/firefly-iii",
"version": "v6.2.10",
"date": "2025-03-22T13:02:26Z"
},
{ {
"name": "tailscale/tailscale", "name": "tailscale/tailscale",
"version": "v1.82.4", "version": "v1.82.4",
@@ -64,16 +194,6 @@
"version": "v4.99.2", "version": "v4.99.2",
"date": "2025-04-11T17:57:47Z" "date": "2025-04-11T17:57:47Z"
}, },
{
"name": "keycloak/keycloak",
"version": "26.2.0",
"date": "2025-04-11T12:48:27Z"
},
{
"name": "duplicati/duplicati",
"version": "v2.1.0.113-2.1.0.113_canary_2025-04-11",
"date": "2025-04-11T16:57:07Z"
},
{ {
"name": "TriliumNext/Notes", "name": "TriliumNext/Notes",
"version": "v0.0.0", "version": "v0.0.0",
@@ -89,11 +209,6 @@
"version": "release-1.23.0rc2", "version": "release-1.23.0rc2",
"date": "2025-04-11T13:24:25Z" "date": "2025-04-11T13:24:25Z"
}, },
{
"name": "MediaBrowser/Emby.Releases",
"version": "4.8.11.0",
"date": "2025-03-10T06:39:11Z"
},
{ {
"name": "docmost/docmost", "name": "docmost/docmost",
"version": "v0.10.1", "version": "v0.10.1",
@@ -104,21 +219,11 @@
"version": "0.49.13", "version": "0.49.13",
"date": "2025-04-11T11:48:06Z" "date": "2025-04-11T11:48:06Z"
}, },
{
"name": "semaphoreui/semaphore",
"version": "v2.13.13",
"date": "2025-04-11T10:15:13Z"
},
{ {
"name": "sabnzbd/sabnzbd", "name": "sabnzbd/sabnzbd",
"version": "4.5.1", "version": "4.5.1",
"date": "2025-04-11T09:57:47Z" "date": "2025-04-11T09:57:47Z"
}, },
{
"name": "Stirling-Tools/Stirling-PDF",
"version": "v0.45.4",
"date": "2025-04-11T08:45:04Z"
},
{ {
"name": "home-assistant/operating-system", "name": "home-assistant/operating-system",
"version": "15.1", "version": "15.1",
@@ -179,11 +284,6 @@
"version": "n8n@1.86.1", "version": "n8n@1.86.1",
"date": "2025-04-09T09:20:55Z" "date": "2025-04-09T09:20:55Z"
}, },
{
"name": "glanceapp/glance",
"version": "v0.7.10",
"date": "2025-04-09T23:51:06Z"
},
{ {
"name": "mongodb/mongo", "name": "mongodb/mongo",
"version": "r8.0.5-rc2", "version": "r8.0.5-rc2",
@@ -194,16 +294,6 @@
"version": "v2.15.1", "version": "v2.15.1",
"date": "2025-04-09T22:26:39Z" "date": "2025-04-09T22:26:39Z"
}, },
{
"name": "syncthing/syncthing",
"version": "v2.0.0-beta.7",
"date": "2025-04-09T13:41:32Z"
},
{
"name": "Prowlarr/Prowlarr",
"version": "v1.33.3.5008",
"date": "2025-04-09T17:58:37Z"
},
{ {
"name": "jupyter/notebook", "name": "jupyter/notebook",
"version": "v7.4.0", "version": "v7.4.0",
@@ -219,11 +309,6 @@
"version": "10.0.18", "version": "10.0.18",
"date": "2025-02-12T11:07:02Z" "date": "2025-02-12T11:07:02Z"
}, },
{
"name": "slskd/slskd",
"version": "0.22.3",
"date": "2025-04-09T14:02:12Z"
},
{ {
"name": "HabitRPG/habitica", "name": "HabitRPG/habitica",
"version": "v5.35.2", "version": "v5.35.2",
@@ -324,31 +409,16 @@
"version": "v1.10.0", "version": "v1.10.0",
"date": "2025-04-07T14:32:15Z" "date": "2025-04-07T14:32:15Z"
}, },
{
"name": "Graylog2/graylog2-server",
"version": "6.2.0-beta.4",
"date": "2025-04-07T11:28:13Z"
},
{ {
"name": "fallenbagel/jellyseerr", "name": "fallenbagel/jellyseerr",
"version": "preview-back-to-axios", "version": "preview-back-to-axios",
"date": "2025-04-07T09:23:08Z" "date": "2025-04-07T09:23:08Z"
}, },
{
"name": "zwave-js/zwave-js-ui",
"version": "v10.1.5",
"date": "2025-04-07T09:19:35Z"
},
{ {
"name": "redis/redis", "name": "redis/redis",
"version": "8.0-rc1-int2", "version": "8.0-rc1-int2",
"date": "2025-04-02T19:05:08Z" "date": "2025-04-02T19:05:08Z"
}, },
{
"name": "zabbix/zabbix",
"version": "7.4.0beta1",
"date": "2025-04-07T08:14:13Z"
},
{ {
"name": "nzbgetcom/nzbget", "name": "nzbgetcom/nzbget",
"version": "v24.8", "version": "v24.8",
@@ -359,11 +429,6 @@
"version": "server/public/v0.1.11", "version": "server/public/v0.1.11",
"date": "2025-03-28T14:04:31Z" "date": "2025-03-28T14:04:31Z"
}, },
{
"name": "open-webui/open-webui",
"version": "v0.6.2",
"date": "2025-04-07T03:41:23Z"
},
{ {
"name": "Dolibarr/dolibarr", "name": "Dolibarr/dolibarr",
"version": "21.0.1", "version": "21.0.1",
@@ -394,16 +459,6 @@
"version": "v1.19.7", "version": "v1.19.7",
"date": "2025-04-06T14:22:44Z" "date": "2025-04-06T14:22:44Z"
}, },
{
"name": "Radarr/Radarr",
"version": "v5.21.1.9799",
"date": "2025-03-24T15:52:12Z"
},
{
"name": "karakeep-app/karakeep",
"version": "extension/v1.2.4",
"date": "2025-04-06T11:56:18Z"
},
{ {
"name": "TechnitiumSoftware/DnsServer", "name": "TechnitiumSoftware/DnsServer",
"version": "v13.5.0", "version": "v13.5.0",
@@ -564,26 +619,11 @@
"version": "v0.26.6", "version": "v0.26.6",
"date": "2025-03-30T08:02:19Z" "date": "2025-03-30T08:02:19Z"
}, },
{
"name": "Readarr/Readarr",
"version": "v2.0.0.4645",
"date": "2017-03-07T18:56:06Z"
},
{
"name": "Lidarr/Lidarr",
"version": "v2.10.3.4602",
"date": "2025-03-23T11:00:37Z"
},
{ {
"name": "aceberg/WatchYourLAN", "name": "aceberg/WatchYourLAN",
"version": "2.1.2-alpine", "version": "2.1.2-alpine",
"date": "2025-03-30T06:25:22Z" "date": "2025-03-30T06:25:22Z"
}, },
{
"name": "pocket-id/pocket-id",
"version": "v0.45.0",
"date": "2025-03-29T23:12:22Z"
},
{ {
"name": "tobychui/zoraxy", "name": "tobychui/zoraxy",
"version": "v3.1.9", "version": "v3.1.9",
@@ -629,21 +669,11 @@
"version": "v1.1.1", "version": "v1.1.1",
"date": "2025-03-28T04:12:31Z" "date": "2025-03-28T04:12:31Z"
}, },
{
"name": "ellite/Wallos",
"version": "v2.48.1",
"date": "2025-03-27T22:02:16Z"
},
{ {
"name": "hivemq/hivemq-community-edition", "name": "hivemq/hivemq-community-edition",
"version": "2025.2", "version": "2025.2",
"date": "2025-03-27T19:21:13Z" "date": "2025-03-27T19:21:13Z"
}, },
{
"name": "evcc-io/evcc",
"version": "0.202.1",
"date": "2025-03-27T08:24:55Z"
},
{ {
"name": "forgejo/forgejo", "name": "forgejo/forgejo",
"version": "v12.0.0-dev", "version": "v12.0.0-dev",
@@ -689,6 +719,11 @@
"version": "2025-03-24-r2", "version": "2025-03-24-r2",
"date": "2025-03-24T20:52:35Z" "date": "2025-03-24T20:52:35Z"
}, },
{
"name": "nextcloud/nextcloudpi",
"version": "v1.55.4",
"date": "2025-03-24T11:31:02Z"
},
{ {
"name": "requarks/wiki", "name": "requarks/wiki",
"version": "v2.5.307", "version": "v2.5.307",
@@ -769,11 +804,6 @@
"version": "2.303", "version": "2.303",
"date": "2025-03-17T04:54:50Z" "date": "2025-03-17T04:54:50Z"
}, },
{
"name": "autobrr/autobrr",
"version": "v1.60.0",
"date": "2025-03-16T18:39:49Z"
},
{ {
"name": "henrygd/beszel", "name": "henrygd/beszel",
"version": "v0.10.2", "version": "v0.10.2",
@@ -809,11 +839,6 @@
"version": "v0.18.0", "version": "v0.18.0",
"date": "2025-03-11T12:47:22Z" "date": "2025-03-11T12:47:22Z"
}, },
{
"name": "Ombi-app/Ombi",
"version": "v4.47.1",
"date": "2025-01-05T21:14:23Z"
},
{ {
"name": "mylar3/mylar3", "name": "mylar3/mylar3",
"version": "v0.8.2", "version": "v0.8.2",
@@ -839,11 +864,6 @@
"version": "v2.17.0", "version": "v2.17.0",
"date": "2025-03-08T06:08:04Z" "date": "2025-03-08T06:08:04Z"
}, },
{
"name": "rogerfar/rdt-client",
"version": "v2.0.102",
"date": "2025-03-07T20:48:46Z"
},
{ {
"name": "prometheus/alertmanager", "name": "prometheus/alertmanager",
"version": "v0.28.1", "version": "v0.28.1",
@@ -934,11 +954,6 @@
"version": "v28.0", "version": "v28.0",
"date": "2025-02-18T15:49:57Z" "date": "2025-02-18T15:49:57Z"
}, },
{
"name": "qbittorrent/qBittorrent",
"version": "release-5.0.4",
"date": "2025-02-18T14:14:11Z"
},
{ {
"name": "postgres/postgres", "name": "postgres/postgres",
"version": "REL_13_20", "version": "REL_13_20",
@@ -994,11 +1009,6 @@
"version": "v0.15.0", "version": "v0.15.0",
"date": "2025-02-08T18:45:30Z" "date": "2025-02-08T18:45:30Z"
}, },
{
"name": "bluenviron/mediamtx",
"version": "v1.11.3",
"date": "2025-02-07T19:29:19Z"
},
{ {
"name": "apache/tika", "name": "apache/tika",
"version": "2.9.3", "version": "2.9.3",
@@ -1054,11 +1064,6 @@
"version": "v0.5.7", "version": "v0.5.7",
"date": "2025-01-17T15:57:17Z" "date": "2025-01-17T15:57:17Z"
}, },
{
"name": "Tautulli/Tautulli",
"version": "v2.15.1",
"date": "2025-01-11T23:38:33Z"
},
{ {
"name": "traccar/traccar", "name": "traccar/traccar",
"version": "v6.6", "version": "v6.6",
@@ -1129,11 +1134,6 @@
"version": "0.10.1", "version": "0.10.1",
"date": "2024-11-10T10:25:45Z" "date": "2024-11-10T10:25:45Z"
}, },
{
"name": "nextcloud/nextcloudpi",
"version": "v1.55.3",
"date": "2024-11-08T22:21:10Z"
},
{ {
"name": "caddyserver/xcaddy", "name": "caddyserver/xcaddy",
"version": "v0.4.4", "version": "v0.4.4",

View File

@@ -0,0 +1,47 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2025 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://adguardhome.com/
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Downloading AdGuard Home"
$STD curl -fsSL -o /tmp/AdGuardHome_linux_amd64.tar.gz \
"https://github.com/AdguardTeam/AdGuardHome/releases/latest/download/AdGuardHome_linux_amd64.tar.gz"
msg_ok "Downloaded AdGuard Home"
msg_info "Installing AdGuard Home"
$STD tar -xzf /tmp/AdGuardHome_linux_amd64.tar.gz -C /opt
$STD rm /tmp/AdGuardHome_linux_amd64.tar.gz
msg_ok "Installed AdGuard Home"
msg_info "Creating AdGuard Home Service"
cat <<EOF >/etc/init.d/adguardhome
#!/sbin/openrc-run
name="AdGuardHome"
description="AdGuard Home Service"
command="/opt/AdGuardHome/AdGuardHome"
command_background="yes"
pidfile="/run/adguardhome.pid"
EOF
$STD chmod +x /etc/init.d/adguardhome
msg_ok "Created AdGuard Home Service"
msg_info "Enabling AdGuard Home Service"
$STD rc-update add adguardhome default
msg_ok "Enabled AdGuard Home Service"
msg_info "Starting AdGuard Home"
$STD rc-service adguardhome start
msg_ok "Started AdGuard Home"
motd_ssh
customize

View File

@@ -15,13 +15,22 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y \
gnupg2 \
lsb-release
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Adoptium Repository"
mkdir -p /etc/apt/keyrings
curl -fsSL "https://packages.adoptium.net/artifactory/api/gpg/key/public" | gpg --dearmor >/etc/apt/trusted.gpg.d/adoptium.gpg
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" >/etc/apt/sources.list.d/adoptium.list
msg_ok "Set up Adoptium Repository"
msg_info "Installing Neo4j (patience)" msg_info "Installing Neo4j (patience)"
curl -fsSL "https://debian.neo4j.com/neotechnology.gpg.key" | gpg --dearmor -o /etc/apt/keyrings/neotechnology.gpg curl -fsSL "https://debian.neo4j.com/neotechnology.gpg.key" | gpg --dearmor -o /etc/apt/keyrings/neotechnology.gpg
echo 'deb [signed-by=/etc/apt/keyrings/neotechnology.gpg] https://debian.neo4j.com stable latest' >/etc/apt/sources.list.d/neo4j.list echo 'deb [signed-by=/etc/apt/keyrings/neotechnology.gpg] https://debian.neo4j.com stable latest' >/etc/apt/sources.list.d/neo4j.list
$STD apt-get update $STD apt-get update
$STD apt-get install -y temurin-21-jre
$STD apt-get install -y neo4j $STD apt-get install -y neo4j
sed -i '/server.default_listen_address/s/^#//' /etc/neo4j/neo4j.conf sed -i '/server.default_listen_address/s/^#//' /etc/neo4j/neo4j.conf
systemctl enable -q --now neo4j systemctl enable -q --now neo4j

View File

@@ -19,20 +19,17 @@ msg_ok "Installed Dependencies"
msg_info "Checking CPU Features" msg_info "Checking CPU Features"
if lscpu | grep -q 'avx'; then if lscpu | grep -q 'avx'; then
USE_AVX=true
MONGODB_VERSION="7.0" MONGODB_VERSION="7.0"
msg_ok "AVX detected: Using MongoDB 7.0" msg_ok "AVX detected: Using MongoDB 7.0"
else else
USE_AVX=false
MONGODB_VERSION="4.4"
msg_error "No AVX detected: TP-Link Canceled Support for Old MongoDB for Debian 12\n https://www.tp-link.com/baltic/support/faq/4160/" msg_error "No AVX detected: TP-Link Canceled Support for Old MongoDB for Debian 12\n https://www.tp-link.com/baltic/support/faq/4160/"
exit 1 exit 0
fi fi
msg_info "Installing Azul Zulu Java" msg_info "Installing Azul Zulu Java"
curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xB1998361219BD9C9" -o "/etc/apt/trusted.gpg.d/zulu-repo.asc" curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xB1998361219BD9C9" -o "/etc/apt/trusted.gpg.d/zulu-repo.asc"
curl -fsSL "https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb" -o $(basename "https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb") curl -fsSL "https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb" -o zulu-repo.deb
$STD dpkg -i zulu-repo_1.0.0-3_all.deb $STD dpkg -i zulu-repo.deb
$STD apt-get update $STD apt-get update
$STD apt-get -y install zulu21-jre-headless $STD apt-get -y install zulu21-jre-headless
msg_ok "Installed Azul Zulu Java" msg_ok "Installed Azul Zulu Java"
@@ -43,8 +40,6 @@ if ! dpkg -l | grep -q 'libssl1.1'; then
$STD dpkg -i /tmp/libssl.deb $STD dpkg -i /tmp/libssl.deb
rm -f /tmp/libssl.deb rm -f /tmp/libssl.deb
msg_ok "Installed libssl1.1" msg_ok "Installed libssl1.1"
else
msg_ok "libssl1.1 already installed"
fi fi
msg_info "Installing MongoDB $MONGODB_VERSION" msg_info "Installing MongoDB $MONGODB_VERSION"
@@ -55,18 +50,19 @@ $STD apt-get install -y mongodb-org
msg_ok "Installed MongoDB $MONGODB_VERSION" msg_ok "Installed MongoDB $MONGODB_VERSION"
msg_info "Installing Omada Controller" msg_info "Installing Omada Controller"
latest_url=$(curl -fsSL "https://support.omadanetworks.com/en/download/software/omada-controller/" | grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | head -n 1) OMADA_URL=$(curl -fsSL "https://support.omadanetworks.com/en/download/software/omada-controller/" |
latest_version=$(basename "$latest_url") grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' |
head -n1)
curl -fsSL "${latest_url}" -O OMADA_PKG=$(basename "$OMADA_URL")
$STD dpkg -i ${latest_version} curl -fsSL "$OMADA_URL" -o "$OMADA_PKG"
$STD dpkg -i "$OMADA_PKG"
msg_ok "Installed Omada Controller" msg_ok "Installed Omada Controller"
motd_ssh motd_ssh
customize customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm -rf ${latest_version} zulu-repo_1.0.0-3_all.deb rm -rf "$OMADA_PKG" zulu-repo.deb
$STD apt-get -y autoremove $STD apt-get -y autoremove
$STD apt-get -y autoclean $STD apt-get -y autoclean
msg_ok "Cleaned" msg_ok "Cleaned"

View File

@@ -0,0 +1,60 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2025 community-scripts ORG
# Author: emoscardini
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/openziti/ziti
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 gpg
msg_ok "Installed Dependencies"
msg_info "Installing openziti"
mkdir -p --mode=0755 /usr/share/keyrings
curl -fsSL https://get.openziti.io/tun/package-repos.gpg | gpg --dearmor -o /usr/share/keyrings/openziti.gpg
echo "deb [signed-by=/usr/share/keyrings/openziti.gpg] https://packages.openziti.org/zitipax-openziti-deb-stable debian main" >/etc/apt/sources.list.d/openziti.list
$STD apt-get update
$STD apt-get install -y openziti-controller openziti-console
msg_ok "Installed openziti"
read -r -p "Would you like to go through the auto configuration now? <y/N>" prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
IPADDRESS=$(hostname -I | awk '{print $1}')
GEN_FQDN="controller.${IPADDRESS}.sslip.io"
read -r -p "Please enter the controller FQDN [${GEN_FQDN}]: " ZITI_CTRL_ADVERTISED_ADDRESS
ZITI_CTRL_ADVERTISED_ADDRESS=${ZITI_CTRL_ADVERTISED_ADDRESS:-$GEN_FQDN}
read -r -p "Please enter the controller port [1280]: " ZITI_CTRL_ADVERTISED_PORT
ZITI_CTRL_ADVERTISED_PORT=${ZITI_CTRL_ADVERTISED_PORT:-1280}
read -r -p "Please enter the controller admin user [admin]: " ZITI_USER
ZITI_USER=${ZITI_USER:-admin}
GEN_PWD=$(head -c128 /dev/urandom | LC_ALL=C tr -dc 'A-Za-z0-9!@#$%^*_+~' | cut -c 1-12)
read -r -p "Please enter the controller admin password [${GEN_PWD}]:" ZITI_PWD
ZITI_PWD=${ZITI_PWD:-$GEN_PWD}
CONFIG_FILE="/opt/openziti/etc/controller/bootstrap.env"
sed -i "s|^ZITI_CTRL_ADVERTISED_ADDRESS=.*|ZITI_CTRL_ADVERTISED_ADDRESS='${ZITI_CTRL_ADVERTISED_ADDRESS}'|" "$CONFIG_FILE"
sed -i "s|^ZITI_CTRL_ADVERTISED_PORT=.*|ZITI_CTRL_ADVERTISED_PORT='${ZITI_CTRL_ADVERTISED_PORT}'|" "$CONFIG_FILE"
sed -i "s|^ZITI_USER=.*|ZITI_USER='${ZITI_USER}'|" "$CONFIG_FILE"
sed -i "s|^ZITI_PWD=.*|ZITI_PWD='${ZITI_PWD}'|" "$CONFIG_FILE"
env VERBOSE=0 bash /opt/openziti/etc/controller/bootstrap.bash
msg_ok "Configuration Completed"
systemctl enable -q --now ziti-controller
else
systemctl enable -q ziti-controller
msg_error "Configration not provided; Please run /opt/openziti/etc/controller/bootstrap.bash to configure the controller and restart the container"
fi
motd_ssh
customize
msg_info "Cleaning up"
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"

View File

@@ -19,21 +19,36 @@ $STD apt-get install -y \
software-properties-common \ software-properties-common \
apt-transport-https \ apt-transport-https \
ca-certificates \ ca-certificates \
gnupg \ gnupg2 \
php8.2 \
php8.2-{common,cli,gd,mysql,mbstring,bcmath,xml,fpm,curl,zip} \
mariadb-server \ mariadb-server \
nginx \ nginx \
redis-server redis-server
$STD curl -fsSL https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Adding PHP Repository"
$STD curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
$STD dpkg -i /tmp/debsuryorg-archive-keyring.deb
$STD sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
$STD apt-get update
msg_ok "Added PHP Repository"
msg_info "Installing PHP"
$STD apt-get remove -y php8.2*
$STD apt-get install -y \
php8.3 \
php8.3-{common,cli,gd,mysql,mbstring,bcmath,xml,curl,zip,intl,fpm,redis}
msg_info "Installed PHP"
msg_info "Installing Composer"
$STD curl -fsSL https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
msg_ok "Installed Composer"
msg_info "Installing Paymenter" msg_info "Installing Paymenter"
RELEASE=$(curl -fsSL https://api.github.com/repos/paymenter/paymenter/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/') RELEASE=$(curl -fsSL https://api.github.com/repos/paymenter/paymenter/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/')
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt echo "${RELEASE}" >/opt/"${APPLICATION}"_version.txt
mkdir -p /opt/paymenter mkdir -p /opt/paymenter
cd /opt/paymenter cd /opt/paymenter || exit
curl -fsSL "https://github.com/paymenter/paymenter/releases/download/${RELEASE}/paymenter.tar.gz" -o $(basename "https://github.com/paymenter/paymenter/releases/download/${RELEASE}/paymenter.tar.gz") curl -fsSL "https://github.com/paymenter/paymenter/releases/download/${RELEASE}/paymenter.tar.gz" -o paymenter.tar.gz
$STD tar -xzvf paymenter.tar.gz $STD tar -xzvf paymenter.tar.gz
chmod -R 755 storage/* bootstrap/cache/ chmod -R 755 storage/* bootstrap/cache/
msg_ok "Installed Paymenter" msg_ok "Installed Paymenter"
@@ -63,13 +78,7 @@ $STD php artisan migrate --force --seed
msg_ok "Set up database" msg_ok "Set up database"
msg_info "Creating Admin User" msg_info "Creating Admin User"
$STD php artisan p:user:create <<EOF $STD php artisan app:user:create paymenter admin admin@paymenter.org paymenter 1 -q
admin@paymenter.org
paymenter
admin
paymenter
0
EOF
msg_ok "Created Admin User" msg_ok "Created Admin User"
msg_info "Configuring Nginx" msg_info "Configuring Nginx"
@@ -88,7 +97,7 @@ server {
location ~ \.php\$ { location ~ \.php\$ {
include snippets/fastcgi-php.conf; include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock; fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
include fastcgi_params; include fastcgi_params;
} }
@@ -125,7 +134,8 @@ RestartSec=5s
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
$STD systemctl enable --now paymenter systemctl enable --now paymenter
systemctl enable --now redis-server
msg_ok "Setup Service" msg_ok "Setup Service"
msg_info "Cleaning up" msg_info "Cleaning up"