Skip to content

Commit 451aa52

Browse files
Merge branch 'community-scripts:main' into main
2 parents e7d4efb + c057e14 commit 451aa52

9 files changed

+155
-5
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,22 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
1414
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.
1515

1616

17+
## 2025-03-07
18+
19+
### 🌐 Website
20+
21+
- #### 📝 Script Information
22+
23+
- Prowlarr icon [@bannert1337](https://github.com/bannert1337) ([#2906](https://github.com/community-scripts/ProxmoxVE/pull/2906))
24+
- Update Apache Tika icon to SVG [@bannert1337](https://github.com/bannert1337) ([#2904](https://github.com/community-scripts/ProxmoxVE/pull/2904))
25+
- Update Prometheus Alertmanager Icon [@bannert1337](https://github.com/bannert1337) ([#2905](https://github.com/community-scripts/ProxmoxVE/pull/2905))
26+
1727
## 2025-03-06
1828

29+
### 🆕 New Scripts
30+
31+
- InvenTree [@tremor021](https://github.com/tremor021) ([#2890](https://github.com/community-scripts/ProxmoxVE/pull/2890))
32+
1933
### 🚀 Updated Scripts
2034

2135
- #### 🐞 Bug Fixes

ct/headers/inventree

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
____ ______
2+
/ _/___ _ _____ ____/_ __/_______ ___
3+
/ // __ \ | / / _ \/ __ \/ / / ___/ _ \/ _ \
4+
_/ // / / / |/ / __/ / / / / / / / __/ __/
5+
/___/_/ /_/|___/\___/_/ /_/_/ /_/ \___/\___/
6+

ct/inventree.sh

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#!/usr/bin/env bash
2+
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
3+
# Copyright (c) 2021-2025 community-scripts ORG
4+
# Author: Slaviša Arežina (tremor021)
5+
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+
# Source: https://github.com/inventree/InvenTree
7+
8+
APP="InvenTree"
9+
var_tags="inventory"
10+
var_cpu="2"
11+
var_ram="2048"
12+
var_disk="6"
13+
var_os="debian"
14+
var_version="12"
15+
var_unprivileged="1"
16+
17+
header_info "$APP"
18+
variables
19+
color
20+
catch_errors
21+
22+
function update_script() {
23+
header_info
24+
check_container_storage
25+
check_container_resources
26+
27+
if [[ ! -d "/opt/inventree" ]]; then
28+
msg_error "No ${APP} Installation Found!"
29+
exit
30+
fi
31+
msg_info "Updating $APP"
32+
$STD apt-get update
33+
$STD apt-get install --only-upgrade inventree -y
34+
msg_ok "Updated $APP"
35+
exit
36+
}
37+
38+
start
39+
build_container
40+
description
41+
42+
msg_ok "Completed Successfully!\n"
43+
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
44+
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
45+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"

ct/wastebin.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ EOF
6565
msg_info "Updating Wastebin"
6666
temp_file=$(mktemp)
6767
wget -q https://github.com/matze/wastebin/releases/download/${RELEASE}/wastebin_${RELEASE}_x86_64-unknown-linux-musl.zip -O $temp_file
68-
unzip -q $temp_file
68+
unzip -o -q $temp_file
6969
cp -f wastebin /opt/wastebin/
7070
chmod +x /opt/wastebin/wastebin
7171
echo "${RELEASE}" >/opt/${APP}_version.txt

install/inventree-install.sh

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#!/usr/bin/env bash
2+
3+
# Copyright (c) 2021-2025 community-scripts ORG
4+
# Author: Slaviša Arežina (tremor021)
5+
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+
# Source: https://github.com/inventree/InvenTree
7+
8+
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
9+
color
10+
verb_ip6
11+
catch_errors
12+
setting_up_container
13+
network_check
14+
update_os
15+
16+
msg_info "Installing Dependencies"
17+
$STD apt-get install -y \
18+
curl \
19+
sudo \
20+
mc \
21+
gnupg \
22+
sudo
23+
temp_file=$(mktemp)
24+
wget -q http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb -O $temp_file
25+
$STD dpkg -i $temp_file
26+
msg_ok "Installed Dependencies"
27+
28+
msg_info "Setting up InvenTree Repository"
29+
mkdir -p /etc/apt/keyrings
30+
curl -fsSL https://dl.packager.io/srv/inventree/InvenTree/key | gpg --dearmor -o /etc/apt/keyrings/inventree.gpg
31+
echo "deb [signed-by=/etc/apt/keyrings/inventree.gpg] https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04 main" >/etc/apt/sources.list.d/inventree.list
32+
msg_ok "Set up InvenTree Repository"
33+
34+
msg_info "Setup ${APPLICATION} (Patience)"
35+
$STD apt-get update
36+
$STD apt-get install -y inventree
37+
msg_ok "Setup ${APPLICATION}"
38+
39+
motd_ssh
40+
customize
41+
42+
msg_info "Cleaning up"
43+
rm -f $temp_file
44+
$STD apt-get -y autoremove
45+
$STD apt-get -y autoclean
46+
msg_ok "Cleaned"

json/apache-tika.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"interface_port": 9998,
1212
"documentation": null,
1313
"website": "https://tika.apache.org/",
14-
"logo": "https://tika.apache.org/tika.png",
14+
"logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/apache-tika.svg",
1515
"description": "The Apache Tika™ toolkit detects and extracts metadata and text from over a thousand different file types (such as PPT, XLS, and PDF). All of these file types can be parsed through a single interface, making Tika useful for search engine indexing, content analysis, translation, and much more.",
1616
"install_methods": [
1717
{
@@ -31,4 +31,4 @@
3131
"password": null
3232
},
3333
"notes": []
34-
}
34+
}

json/inventree.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "InvenTree",
3+
"slug": "inventree",
4+
"categories": [
5+
25
6+
],
7+
"date_created": "2025-03-06",
8+
"type": "ct",
9+
"updateable": true,
10+
"privileged": false,
11+
"interface_port": 80,
12+
"documentation": "https://docs.inventree.org/en/latest/",
13+
"website": "https://inventree.org",
14+
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/inventree.svg",
15+
"description": "InvenTree is an open-source inventory management system which provides intuitive parts management and stock control. It is designed to be lightweight and easy to use for SME or hobbyist applications.",
16+
"install_methods": [
17+
{
18+
"type": "default",
19+
"script": "ct/inventree.sh",
20+
"resources": {
21+
"cpu": 2,
22+
"ram": 2048,
23+
"hdd": 6,
24+
"os": "debian",
25+
"version": "12"
26+
}
27+
}
28+
],
29+
"default_credentials": {
30+
"username": "admin",
31+
"password": "`cat /etc/inventree/admin_password.txt`"
32+
},
33+
"notes": [
34+
{
35+
"text": "Please read the documentation for your configuration needs.",
36+
"type": "info"
37+
}
38+
]
39+
}

json/prometheus-alertmanager.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"interface_port": 9093,
1212
"documentation": "https://prometheus.io/docs/alerting/latest/overview/",
1313
"website": "https://prometheus.io/",
14-
"logo": "https://raw.githubusercontent.com/loganmarchione/homelab-svg-assets/main/assets/prometheus.svg",
14+
"logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/prometheus.svg",
1515
"description": "Alerting with Prometheus is separated into two parts. Alerting rules in Prometheus servers send alerts to an Alertmanager. The Alertmanager then manages those alerts, including silencing, inhibition, aggregation and sending out notifications via methods such as email, on-call notification systems, and chat platforms.",
1616
"install_methods": [
1717
{

json/prowlarr.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"interface_port": 9696,
1212
"documentation": null,
1313
"website": "https://github.com/Prowlarr/Prowlarr",
14-
"logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/radarr.svg",
14+
"logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/prowlarr.svg",
1515
"description": "Prowlarr is a software tool designed to integrate with various PVR (Personal Video Recorder) apps. It is built on a popular *arr .net/ReactJS base stack and serves as an indexer manager and proxy. Prowlarr makes it easy to manage and organize TV show and movie collections, by integrating with popular PVR apps and automating the downloading and organizing of media files. The software provides a web-based interface for managing and organizing TV shows and movies, making it easy to search and find content. Prowlarr also supports metadata management, including show and movie information, making it easy for users to keep their media collection organized and up-to-date. The software is designed to be easy to use and provides a simple and intuitive interface for managing and organizing media collections, making it a valuable tool for media enthusiasts who want to keep their collection organized and up-to-date. With Prowlarr, users can enjoy their media collection from anywhere, making it a powerful tool for managing and sharing media files.",
1616
"install_methods": [
1717
{

0 commit comments

Comments
 (0)