Compare commits

..

16 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
3939b88b9f Update CHANGELOG.md (#3494) 2025-03-29 21:49:04 +01:00
community-scripts-pr-app[bot]
5be029597b Update .app files (#3495) 2025-03-29 21:48:48 +01:00
CanbiZ
e394dd08b0 Alpine MariaDB (#3456)
* Alpine-MariaDB

* fix deps

* Update install/alpine-mariadb-install.sh

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* space

---------

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
2025-03-29 21:38:47 +01:00
community-scripts-pr-app[bot]
5d50d91a26 Update CHANGELOG.md (#3492)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-29 21:28:37 +01:00
Slaviša Arežina
1a0f3a6108 Fix wrong sed text (#3491) 2025-03-29 20:44:56 +01:00
community-scripts-pr-app[bot]
d940907e59 Update CHANGELOG.md (#3490)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-29 18:07:14 +01:00
Slaviša Arežina
09e7593734 GoMFT: Fix release archive naming (#3483)
* Fix release archive naming

* No uses curl to fetch release

* typo

* Update

* Update
2025-03-29 17:57:22 +01:00
community-scripts-pr-app[bot]
121577c2fd Update CHANGELOG.md (#3485)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-29 15:19:33 +01:00
Slaviša Arežina
bcaf34fa96 Fix release parsing (#3484) 2025-03-29 15:12:52 +01:00
community-scripts-pr-app[bot]
87106a60c3 Update versions.json (#3481)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-29 14:33:08 +01:00
community-scripts-pr-app[bot]
c63ad45e65 Update CHANGELOG.md (#3480)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-29 14:06:52 +01:00
Slaviša Arežina
52bd63bf08 Fix debian-keyring dependency missing (#3477) 2025-03-29 14:04:28 +01:00
Slaviša Arežina
8a5367dae3 Fix temp file (#3476) 2025-03-29 12:21:58 +01:00
community-scripts-pr-app[bot]
8c8b08e037 Update CHANGELOG.md (#3475)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-29 10:29:41 +01:00
community-scripts-pr-app[bot]
40b997ddc9 Update versions.json (#3468) 2025-03-29 08:43:55 +01:00
Slaviša Arežina
b87e7dde2b Fix compose.env (#3466) 2025-03-29 08:43:36 +01:00
13 changed files with 265 additions and 124 deletions

View File

@@ -14,6 +14,23 @@ 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-03-29
### 🆕 New Scripts
- Alpine MariaDB [@MickLesk](https://github.com/MickLesk) ([#3456](https://github.com/community-scripts/ProxmoxVE/pull/3456))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Komodo: Fix wrong sed text [@tremor021](https://github.com/tremor021) ([#3491](https://github.com/community-scripts/ProxmoxVE/pull/3491))
- GoMFT: Fix release archive naming [@tremor021](https://github.com/tremor021) ([#3483](https://github.com/community-scripts/ProxmoxVE/pull/3483))
- Homepage: Fix release parsing [@tremor021](https://github.com/tremor021) ([#3484](https://github.com/community-scripts/ProxmoxVE/pull/3484))
- Netdata: Fix debian-keyring dependency missing [@tremor021](https://github.com/tremor021) ([#3477](https://github.com/community-scripts/ProxmoxVE/pull/3477))
- ErsatzTV: Fix temp file reference [@tremor021](https://github.com/tremor021) ([#3476](https://github.com/community-scripts/ProxmoxVE/pull/3476))
- Komodo: Fix compose.env [@tremor021](https://github.com/tremor021) ([#3466](https://github.com/community-scripts/ProxmoxVE/pull/3466))
## 2025-03-28 ## 2025-03-28
### 🆕 New Scripts ### 🆕 New Scripts

46
ct/alpine-mariadb.sh Normal file
View File

@@ -0,0 +1,46 @@
#!/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://mariadb.org
APP="Alpine-MariaDB"
var_tags="${var_tags:-alpine;database}"
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() {
msg_info "Updating Alpine Packages"
$STD apk update
$STD apk upgrade
msg_ok "Updated Alpine Packages"
msg_info "Updating MariaDB"
$STD apk upgrade mariadb mariadb-client
msg_ok "Updated MariaDB"
msg_info "Restarting MariaDB"
$STD rc-service mariadb restart
msg_ok "Restarted MariaDB"
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 IP:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}${IP}:3306${CL}"

View File

@@ -28,7 +28,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
RELEASE=$(curl -s https://api.github.com/repos/StarFleetCPTN/GoMFT/releases/latest | grep "tag_name" | awk '{print substr($2, 4, length($2)-5) }') RELEASE=$(curl -fsSL https://api.github.com/repos/StarFleetCPTN/GoMFT/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if ! dpkg -l | grep -q "^ii.*build-essential"; then if ! dpkg -l | grep -q "^ii.*build-essential"; then
$STD apt-get install -y build-essential $STD apt-get install -y build-essential
fi fi
@@ -41,9 +41,9 @@ function update_script() {
msg_info "Updating $APP to ${RELEASE}" msg_info "Updating $APP to ${RELEASE}"
rm -f /opt/gomft/gomft rm -f /opt/gomft/gomft
temp_file=$(mktemp) temp_file=$(mktemp)
wget -q "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v${RELEASE}.tar.gz" -O $temp_file curl -fsSL "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v.${RELEASE}.tar.gz" -o $temp_file
tar -xzf $temp_file tar -xzf $temp_file
cp -rf GoMFT-${RELEASE}/* /opt/gomft cp -rf GoMFT-v.${RELEASE}/* /opt/gomft
cd /opt/gomft cd /opt/gomft
$STD go mod download $STD go mod download
$STD go install github.com/a-h/templ/cmd/templ@latest $STD go install github.com/a-h/templ/cmd/templ@latest

View File

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

View File

@@ -40,7 +40,7 @@ function update_script() {
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
msg_info "Updating Homepage to v${RELEASE} (Patience)" msg_info "Updating Homepage to v${RELEASE} (Patience)"
systemctl stop homepage systemctl stop homepage
wget -q https://github.com/gethomepage/homepage/archive/refs/tags/v${RELEASE}.tar.gz curl -fsSL "https://github.com/gethomepage/homepage/archive/refs/tags/v${RELEASE}.tar.gz" -o $(basename "https://github.com/gethomepage/homepage/archive/refs/tags/v${RELEASE}.tar.gz")
tar -xzf v${RELEASE}.tar.gz tar -xzf v${RELEASE}.tar.gz
rm -rf v${RELEASE}.tar.gz rm -rf v${RELEASE}.tar.gz
cp -r homepage-${RELEASE}/* /opt/homepage/ cp -r homepage-${RELEASE}/* /opt/homepage/

View File

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

View File

@@ -1,8 +1,113 @@
[ [
{
"name": "theonedev/onedev",
"version": "v11.8.4",
"date": "2025-03-29T08:28:12Z"
},
{
"name": "tobychui/zoraxy",
"version": "v3.1.9",
"date": "2025-03-01T02:24:33Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.1705",
"date": "2025-03-29T05:54:06Z"
},
{
"name": "inspircd/inspircd",
"version": "v4.7.0",
"date": "2025-03-29T03:50:50Z"
},
{ {
"name": "fhem/fhem-mirror", "name": "fhem/fhem-mirror",
"version": "6.2", "version": "6.2",
"date": "2025-03-28T10:33:13Z" "date": "2025-03-29T01:59:30Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "v1.6.1",
"date": "2025-03-15T17:29:17Z"
},
{
"name": "OliveTin/OliveTin",
"version": "2025.3.28",
"date": "2025-03-29T00:18:56Z"
},
{
"name": "msgbyte/tianji",
"version": "v1.19.5",
"date": "2025-03-28T22:03:01Z"
},
{
"name": "homarr-labs/homarr",
"version": "v1.13.1",
"date": "2025-03-28T21:58:30Z"
},
{
"name": "TasmoAdmin/TasmoAdmin",
"version": "v4.2.3",
"date": "2025-02-09T23:07:48Z"
},
{
"name": "home-assistant/core",
"version": "2025.3.4",
"date": "2025-03-21T20:22:46Z"
},
{
"name": "gristlabs/grist-core",
"version": "v1.5.0",
"date": "2025-03-28T20:43:51Z"
},
{
"name": "grocy/grocy",
"version": "v4.5.0",
"date": "2025-03-28T19:02:22Z"
},
{
"name": "Brandawg93/PeaNUT",
"version": "v5.6.1",
"date": "2025-03-28T18:40:22Z"
},
{
"name": "keycloak/keycloak",
"version": "26.1.4",
"date": "2025-03-13T15:41:42Z"
},
{
"name": "pocketbase/pocketbase",
"version": "v0.26.5",
"date": "2025-03-28T17:41:23Z"
},
{
"name": "NodeBB/NodeBB",
"version": "v4.2.0",
"date": "2025-03-19T18:34:01Z"
},
{
"name": "louislam/uptime-kuma",
"version": "2.0.0-beta.2-temp",
"date": "2025-03-28T08:45:58Z"
},
{
"name": "zitadel/zitadel",
"version": "v2.71.5",
"date": "2025-03-28T15:34:27Z"
},
{
"name": "emqx/emqx",
"version": "e5.9.0-beta.2",
"date": "2025-03-28T15:06:27Z"
},
{
"name": "goauthentik/authentik",
"version": "version/2025.2.3",
"date": "2025-03-28T14:28:34Z"
},
{
"name": "hakimel/reveal.js",
"version": "5.2.1",
"date": "2025-03-28T13:00:23Z"
}, },
{ {
"name": "cockpit-project/cockpit", "name": "cockpit-project/cockpit",
@@ -14,11 +119,6 @@
"version": "debian/12.0.12", "version": "debian/12.0.12",
"date": "2025-03-16T11:59:24Z" "date": "2025-03-16T11:59:24Z"
}, },
{
"name": "Jackett/Jackett",
"version": "v0.22.1702",
"date": "2025-03-28T05:57:28Z"
},
{ {
"name": "gethomepage/homepage", "name": "gethomepage/homepage",
"version": "v1.1.1", "version": "v1.1.1",
@@ -29,11 +129,6 @@
"version": "v1.10.0-rc.3", "version": "v1.10.0-rc.3",
"date": "2025-03-28T03:45:54Z" "date": "2025-03-28T03:45:54Z"
}, },
{
"name": "theonedev/onedev",
"version": "v11.8.1",
"date": "2025-03-28T00:13:20Z"
},
{ {
"name": "StarFleetCPTN/GoMFT", "name": "StarFleetCPTN/GoMFT",
"version": "v.0.2.3", "version": "v.0.2.3",
@@ -49,26 +144,16 @@
"version": "v2.48.1", "version": "v2.48.1",
"date": "2025-03-27T22:02:16Z" "date": "2025-03-27T22:02:16Z"
}, },
{
"name": "keycloak/keycloak",
"version": "26.1.4",
"date": "2025-03-13T15:41:42Z"
},
{
"name": "home-assistant/core",
"version": "2025.3.4",
"date": "2025-03-21T20:22:46Z"
},
{
"name": "gristlabs/grist-core",
"version": "v1.5.0",
"date": "2025-03-27T19:59:55Z"
},
{ {
"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": "TriliumNext/Notes",
"version": "v0.92.4",
"date": "2025-03-17T16:00:19Z"
},
{ {
"name": "fallenbagel/jellyseerr", "name": "fallenbagel/jellyseerr",
"version": "preview-music-support", "version": "preview-music-support",
@@ -79,11 +164,6 @@
"version": "v1.130.3", "version": "v1.130.3",
"date": "2025-03-27T16:38:04Z" "date": "2025-03-27T16:38:04Z"
}, },
{
"name": "msgbyte/tianji",
"version": "v1.19.4",
"date": "2025-03-27T16:25:34Z"
},
{ {
"name": "zwave-js/zwave-js-ui", "name": "zwave-js/zwave-js-ui",
"version": "v10.1.3", "version": "v10.1.3",
@@ -151,8 +231,8 @@
}, },
{ {
"name": "runtipi/runtipi", "name": "runtipi/runtipi",
"version": "nightly", "version": "v3.10.0",
"date": "2025-03-26T20:06:34Z" "date": "2025-03-15T14:38:16Z"
}, },
{ {
"name": "glanceapp/glance", "name": "glanceapp/glance",
@@ -194,11 +274,6 @@
"version": "v1.34.0", "version": "v1.34.0",
"date": "2025-03-26T08:48:34Z" "date": "2025-03-26T08:48:34Z"
}, },
{
"name": "pocketbase/pocketbase",
"version": "v0.26.4",
"date": "2025-03-26T05:16:46Z"
},
{ {
"name": "esphome/esphome", "name": "esphome/esphome",
"version": "2025.3.2", "version": "2025.3.2",
@@ -234,11 +309,6 @@
"version": "v1.3.0", "version": "v1.3.0",
"date": "2025-03-25T15:55:02Z" "date": "2025-03-25T15:55:02Z"
}, },
{
"name": "emqx/emqx",
"version": "v5.8.6",
"date": "2025-03-25T15:22:13Z"
},
{ {
"name": "hansmi/prometheus-paperless-exporter", "name": "hansmi/prometheus-paperless-exporter",
"version": "v0.0.7", "version": "v0.0.7",
@@ -264,11 +334,6 @@
"version": "pmm-6401-v1.114.0", "version": "pmm-6401-v1.114.0",
"date": "2025-03-25T07:58:34Z" "date": "2025-03-25T07:58:34Z"
}, },
{
"name": "zitadel/zitadel",
"version": "v2.70.6",
"date": "2025-03-25T07:11:32Z"
},
{ {
"name": "caddyserver/caddy", "name": "caddyserver/caddy",
"version": "v2.9.1", "version": "v2.9.1",
@@ -354,11 +419,6 @@
"version": "v0.24.2", "version": "v0.24.2",
"date": "2025-03-23T04:01:50Z" "date": "2025-03-23T04:01:50Z"
}, },
{
"name": "OliveTin/OliveTin",
"version": "2025.3.23",
"date": "2025-03-23T01:38:55Z"
},
{ {
"name": "hoarder-app/hoarder", "name": "hoarder-app/hoarder",
"version": "sdk/v0.23.0", "version": "sdk/v0.23.0",
@@ -384,11 +444,6 @@
"version": "v2.7.6", "version": "v2.7.6",
"date": "2025-03-21T19:24:53Z" "date": "2025-03-21T19:24:53Z"
}, },
{
"name": "homarr-labs/homarr",
"version": "v1.12.0",
"date": "2025-03-21T19:14:59Z"
},
{ {
"name": "photoprism/photoprism", "name": "photoprism/photoprism",
"version": "250321-57590c48b", "version": "250321-57590c48b",
@@ -424,21 +479,11 @@
"version": "v4.0.7", "version": "v4.0.7",
"date": "2025-02-26T19:07:11Z" "date": "2025-02-26T19:07:11Z"
}, },
{
"name": "NodeBB/NodeBB",
"version": "v4.2.0",
"date": "2025-03-19T18:34:01Z"
},
{ {
"name": "seanmorley15/AdventureLog", "name": "seanmorley15/AdventureLog",
"version": "v0.9.0", "version": "v0.9.0",
"date": "2025-03-19T13:30:02Z" "date": "2025-03-19T13:30:02Z"
}, },
{
"name": "hakimel/reveal.js",
"version": "5.2.0",
"date": "2025-03-19T11:03:56Z"
},
{ {
"name": "Luligu/matterbridge", "name": "Luligu/matterbridge",
"version": "2.2.5", "version": "2.2.5",
@@ -479,21 +524,11 @@
"version": "v0.8.5.11", "version": "v0.8.5.11",
"date": "2025-03-17T19:25:25Z" "date": "2025-03-17T19:25:25Z"
}, },
{
"name": "goauthentik/authentik",
"version": "version/2025.2.2",
"date": "2025-03-17T19:16:49Z"
},
{ {
"name": "Sonarr/Sonarr", "name": "Sonarr/Sonarr",
"version": "v4.0.14.2939", "version": "v4.0.14.2939",
"date": "2025-03-17T19:12:37Z" "date": "2025-03-17T19:12:37Z"
}, },
{
"name": "TriliumNext/Notes",
"version": "v0.92.4",
"date": "2025-03-17T16:00:19Z"
},
{ {
"name": "webmin/webmin", "name": "webmin/webmin",
"version": "2.303", "version": "2.303",
@@ -524,11 +559,6 @@
"version": "v1.0.0-beta18", "version": "v1.0.0-beta18",
"date": "2025-03-15T20:24:04Z" "date": "2025-03-15T20:24:04Z"
}, },
{
"name": "bunkerity/bunkerweb",
"version": "v1.6.1",
"date": "2025-03-15T17:29:17Z"
},
{ {
"name": "henrygd/beszel", "name": "henrygd/beszel",
"version": "v0.10.2", "version": "v0.10.2",
@@ -634,11 +664,6 @@
"version": "v2.0.0.4645", "version": "v2.0.0.4645",
"date": "2017-03-07T18:56:06Z" "date": "2017-03-07T18:56:06Z"
}, },
{
"name": "Brandawg93/PeaNUT",
"version": "v5.6.0",
"date": "2025-03-08T19:02:31Z"
},
{ {
"name": "YuukanOO/seelf", "name": "YuukanOO/seelf",
"version": "v2.4.2", "version": "v2.4.2",
@@ -724,21 +749,6 @@
"version": "2.8.0", "version": "2.8.0",
"date": "2025-03-02T04:30:50Z" "date": "2025-03-02T04:30:50Z"
}, },
{
"name": "inspircd/inspircd",
"version": "v4.6.0",
"date": "2025-03-01T10:29:31Z"
},
{
"name": "tobychui/zoraxy",
"version": "v3.1.9",
"date": "2025-03-01T02:24:33Z"
},
{
"name": "grocy/grocy",
"version": "v4.4.2",
"date": "2025-02-28T16:26:05Z"
},
{ {
"name": "jordan-dalby/ByteStash", "name": "jordan-dalby/ByteStash",
"version": "v1.5.7", "version": "v1.5.7",
@@ -889,11 +899,6 @@
"version": "v1.9.0", "version": "v1.9.0",
"date": "2025-02-11T13:26:42Z" "date": "2025-02-11T13:26:42Z"
}, },
{
"name": "TasmoAdmin/TasmoAdmin",
"version": "v4.2.3",
"date": "2025-02-09T23:07:48Z"
},
{ {
"name": "dani-garcia/vaultwarden", "name": "dani-garcia/vaultwarden",
"version": "1.33.2", "version": "1.33.2",
@@ -1014,11 +1019,6 @@
"version": "v0.24.6", "version": "v0.24.6",
"date": "2024-12-22T20:24:35Z" "date": "2024-12-22T20:24:35Z"
}, },
{
"name": "louislam/uptime-kuma",
"version": "2.0.0-beta.1",
"date": "2024-12-20T08:56:43Z"
},
{ {
"name": "IceWhaleTech/CasaOS", "name": "IceWhaleTech/CasaOS",
"version": "v0.4.15", "version": "v0.4.15",

View File

@@ -0,0 +1,59 @@
#!/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://mariadb.org/
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apk add \
gpg \
sudo
msg_ok "Installed Dependencies"
msg_info "Installing MariaDB"
$STD apk add --no-cache mariadb mariadb-client
$STD rc-update add mariadb default
$STD rc-service mariadb start
msg_ok "Installed MariaDB"
msg_info "Configuring MariaDB"
mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql >/dev/null 2>&1
$STD rc-service mariadb restart
msg_ok "MariaDB Configured"
read -r -p "Would you like to install Adminer with lighthttpd? <y/N>: " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
msg_info "Installing Adminer"
$STD apk add --no-cache lighttpd php php-cgi php-mysqli php-mbstring php-zip php-gd php-json php-curl jq
sed -i 's|server.modules += ( "mod_cgi" )|server.modules += ( "mod_cgi", "mod_fastcgi" )|' /etc/lighttpd/lighttpd.conf
echo 'fastcgi.server += ( ".php" => (( "bin-path" => "/usr/bin/php-cgi", "socket" => "/var/run/php-cgi.sock" )))' >>/etc/lighttpd/lighttpd.conf
ADMINER_VERSION=$(curl -s https://api.github.com/repos/vrana/adminer/releases/latest | jq -r '.tag_name' | sed 's/v//')
wget -q -O /var/www/adminer.php "https://github.com/vrana/adminer/releases/download/v${ADMINER_VERSION}/adminer-${ADMINER_VERSION}.php"
chown lighttpd:lighttpd /var/www/adminer.php
chmod 755 /var/www/adminer.php
msg_ok "Adminer Installed"
msg_info "Starting Lighttpd"
$STD rc-update add lighttpd default
$STD rc-service lighttpd restart
msg_ok "Lighttpd Started"
echo -e "Adminer is available at: ${BL}http://$(hostname -I | awk '{print $1}')/adminer${CL}"
else
echo -e "Skipped Adminer Installation..."
fi
motd_ssh
customize
msg_info "Cleaning up"
msg_ok "Cleaned"

View File

@@ -35,6 +35,7 @@ fi
msg_ok "Set Up Hardware Acceleration" msg_ok "Set Up Hardware Acceleration"
msg_info "Installing ErsatzTV" msg_info "Installing ErsatzTV"
temp_file=$(mktemp)
cd /opt cd /opt
RELEASE=$(curl -s https://api.github.com/repos/ErsatzTV/ErsatzTV/releases | grep -oP '"tag_name": "\K[^"]+' | head -n 1) RELEASE=$(curl -s https://api.github.com/repos/ErsatzTV/ErsatzTV/releases | grep -oP '"tag_name": "\K[^"]+' | head -n 1)
wget -qO- "https://github.com/ErsatzTV/ErsatzTV/releases/download/${RELEASE}/ErsatzTV-${RELEASE}-linux-x64.tar.gz" -O "$temp_file" wget -qO- "https://github.com/ErsatzTV/ErsatzTV/releases/download/${RELEASE}/ErsatzTV-${RELEASE}-linux-x64.tar.gz" -O "$temp_file"

View File

@@ -34,10 +34,10 @@ msg_ok "Setup Golang"
msg_info "Setup ${APPLICATION} (Patience)" msg_info "Setup ${APPLICATION} (Patience)"
temp_file=$(mktemp) temp_file=$(mktemp)
RELEASE=$(curl -s https://api.github.com/repos/StarFleetCPTN/GoMFT/releases/latest | grep "tag_name" | awk '{print substr($2, 4, length($2)-5) }') RELEASE=$(curl -fsSL https://api.github.com/repos/StarFleetCPTN/GoMFT/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
wget -q "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v${RELEASE}.tar.gz" -O $temp_file curl -fsSL "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v.${RELEASE}.tar.gz" -o $temp_file
tar -xzf $temp_file tar -xzf $temp_file
mv GoMFT-${RELEASE}/ /opt/gomft mv GoMFT-v.${RELEASE}/ /opt/gomft
cd /opt/gomft cd /opt/gomft
$STD go mod download $STD go mod download
$STD go install github.com/a-h/templ/cmd/templ@latest $STD go install github.com/a-h/templ/cmd/templ@latest

View File

@@ -32,7 +32,7 @@ msg_ok "Installed Node.js"
LOCAL_IP=$(hostname -I | awk '{print $1}') LOCAL_IP=$(hostname -I | awk '{print $1}')
RELEASE=$(curl -s https://api.github.com/repos/gethomepage/homepage/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') RELEASE=$(curl -s https://api.github.com/repos/gethomepage/homepage/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
msg_info "Installing Homepage v${RELEASE} (Patience)" msg_info "Installing Homepage v${RELEASE} (Patience)"
wget -q https://github.com/gethomepage/homepage/archive/refs/tags/v${RELEASE}.tar.gz curl -fsSL "https://github.com/gethomepage/homepage/archive/refs/tags/v${RELEASE}.tar.gz" -o $(basename "https://github.com/gethomepage/homepage/archive/refs/tags/v${RELEASE}.tar.gz")
$STD tar -xzf v${RELEASE}.tar.gz $STD tar -xzf v${RELEASE}.tar.gz
rm -rf v${RELEASE}.tar.gz rm -rf v${RELEASE}.tar.gz
mkdir -p /opt/homepage/config mkdir -p /opt/homepage/config

View File

@@ -70,9 +70,9 @@ PASSKEY=$(openssl rand -base64 24 | tr -d '/+=')
WEBHOOK_SECRET=$(openssl rand -base64 24 | tr -d '/+=') WEBHOOK_SECRET=$(openssl rand -base64 24 | tr -d '/+=')
JWT_SECRET=$(openssl rand -base64 24 | tr -d '/+=') JWT_SECRET=$(openssl rand -base64 24 | tr -d '/+=')
sed -i "s/^DB_USERNAME=.*/DB_USERNAME=komodo_admin/" /opt/komodo/compose.env sed -i "s/^KOMODO_DB_USERNAME=.*/KOMODO_DB_USERNAME=komodo_admin/" /opt/komodo/compose.env
sed -i "s/^DB_PASSWORD=.*/DB_PASSWORD=${DB_PASSWORD}/" /opt/komodo/compose.env sed -i "s/^KOMODO_DB_PASSWORD=.*/KOMODO_DB_PASSWORD=${DB_PASSWORD}/" /opt/komodo/compose.env
sed -i "s/^PASSKEY=.*/PASSKEY=${PASSKEY}/" /opt/komodo/compose.env sed -i "s/^KOMODO_PASSKEY=.*/KOMODO_PASSKEY=${PASSKEY}/" /opt/komodo/compose.env
sed -i "s/^KOMODO_WEBHOOK_SECRET=.*/KOMODO_WEBHOOK_SECRET=${WEBHOOK_SECRET}/" /opt/komodo/compose.env sed -i "s/^KOMODO_WEBHOOK_SECRET=.*/KOMODO_WEBHOOK_SECRET=${WEBHOOK_SECRET}/" /opt/komodo/compose.env
sed -i "s/^KOMODO_JWT_SECRET=.*/KOMODO_JWT_SECRET=${JWT_SECRET}/" /opt/komodo/compose.env sed -i "s/^KOMODO_JWT_SECRET=.*/KOMODO_JWT_SECRET=${JWT_SECRET}/" /opt/komodo/compose.env
msg_ok "Setup Komodo Environment" msg_ok "Setup Komodo Environment"

View File

@@ -59,6 +59,7 @@ install() {
header_info header_info
msg_info "Setting up repository" msg_info "Setting up repository"
$STD apt-get install -y debian-keyring
wget -q https://repo.netdata.cloud/repos/repoconfig/debian/bookworm/netdata-repo_5-1+debian12_all.deb wget -q https://repo.netdata.cloud/repos/repoconfig/debian/bookworm/netdata-repo_5-1+debian12_all.deb
$STD dpkg -i netdata-repo_5-1+debian12_all.deb $STD dpkg -i netdata-repo_5-1+debian12_all.deb
rm -rf netdata-repo_5-1+debian12_all.deb rm -rf netdata-repo_5-1+debian12_all.deb