Compare commits

..
Author SHA1 Message Date
community-scripts-pr-app[bot]andgithub-actions[bot] 0d531d13b3 Update CHANGELOG.md (#18850)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-19 22:16:01 +00:00
Phillipp SeidelandPhilipp Seidel 53c30d6d2b fix(t3code): wait for server readiness before pairing (#18849)
Co-authored-by: Philipp Seidel <info@seidel-philipp.de>
2026-11-19 23:15:32 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 260c581c75 Update CHANGELOG.md (#18848)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-19 21:05:37 +00:00
push-app-to-main[bot] 2f1bd33d80 T3 Code (#18845) 2026-11-19 22:05:06 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] dc5f79ab73 Update CHANGELOG.md (#18847)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-19 20:31:09 +00:00
push-app-to-main[bot] cf2f7884af Add faraday (ct) (#18844)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-11-19 21:30:35 +01:00
4 changed files with 184 additions and 1 deletions

No files matched your search

+11
View File
@@ -586,13 +586,24 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
## 2026-11-19
### 🆕 New Scripts
- T3 Code [@lukdz](https://github.com/lukdz) ([#18845](https://github.com/community-scripts/ProxmoxVE/pull/18845))
- Faraday [@MickLesk](https://github.com/MickLesk) ([#18844](https://github.com/community-scripts/ProxmoxVE/pull/18844))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- fix(t3code): wait for server readiness before pairing [@ps915](https://github.com/ps915) ([#18849](https://github.com/community-scripts/ProxmoxVE/pull/18849))
- Frigate: bump to v0.18.3 [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#18841](https://github.com/community-scripts/ProxmoxVE/pull/18841))
- Nginx Proxy Manager: patch nginx HTTP/2 CVE-2026-123007 / CVE-2026-123633 [@valentingoulier](https://github.com/valentingoulier) ([#18835](https://github.com/community-scripts/ProxmoxVE/pull/18835))
### 🛰️ Services
- Take the API reference out of the menu and cut it down [@MickLesk](https://github.com/MickLesk) ([services#21](https://github.com/community-scripts/services/pull/21))
- Add an API reference page and offer 3 days instead of a year [@MickLesk](https://github.com/MickLesk) ([services#20](https://github.com/community-scripts/services/pull/20))
## 2026-11-18
### 🆕 New Scripts
+65
View File
@@ -0,0 +1,65 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/infobyte/faraday
APP="Faraday"
var_tags="${var_tags:-security;vulnerability}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-8}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_arm64="${var_arm64:-yes}"
var_unprivileged="${var_unprivileged:-1}"
export var_faraday_password="${var_faraday_password:-}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/faraday ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "faraday" "infobyte/faraday"; then
msg_info "Stopping Faraday"
systemctl stop faraday-beat faraday-worker faraday-server
msg_ok "Stopped Faraday"
PYTHON_VERSION="3.11" setup_uv
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "faraday" "infobyte/faraday" "tarball"
msg_info "Updating Faraday"
cd /opt/faraday
UV_PROJECT_ENVIRONMENT=/opt/faraday/venv $STD uv sync --frozen --no-dev --no-editable
FARADAY_HOME=/opt/faraday_data $STD venv/bin/faraday-manage migrate
msg_ok "Updated Faraday"
msg_info "Starting Faraday"
systemctl start faraday-server faraday-worker faraday-beat
msg_ok "Started Faraday"
msg_ok "Updated successfully!"
fi
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 "${GATEWAY}${BGN}http://${IP}:5985${CL}"
+104
View File
@@ -0,0 +1,104 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/infobyte/faraday
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt install -y \
build-essential \
libpq-dev \
libmagic1 \
redis-server
msg_ok "Installed Dependencies"
PG_VERSION="17" setup_postgresql
PG_DB_NAME="faraday" PG_DB_USER="faraday" PG_DB_CREDS_FILE="/dev/null" setup_postgresql_db
PYTHON_VERSION="3.11" setup_uv
fetch_and_deploy_gh_release "faraday" "infobyte/faraday" "tarball"
msg_info "Installing Faraday"
cd /opt/faraday
UV_PROJECT_ENVIRONMENT=/opt/faraday/venv $STD uv sync --frozen --no-dev --no-editable
msg_ok "Installed Faraday"
msg_info "Configuring Faraday"
FARADAY_PASSWORD="${var_faraday_password:-$(random_password)}"
mkdir -p /opt/faraday_data/.faraday/config
cat <<EOF >/opt/faraday_data/.faraday/config/server.ini
[faraday_server]
port = 5985
bind_address = 0.0.0.0
secret_key = $(random_password 32)
[database]
connection_string = postgresql+psycopg2://${PG_DB_USER}:${PG_DB_PASS}@localhost/${PG_DB_NAME}
EOF
cat <<EOF >/opt/faraday_data/.env
FARADAY_HOME=/opt/faraday_data
FARADAY_USER=faraday
FARADAY_PASSWORD=${FARADAY_PASSWORD}
EOF
chmod 600 /opt/faraday_data/.env /opt/faraday_data/.faraday/config/server.ini
FARADAY_HOME=/opt/faraday_data $STD venv/bin/faraday-manage create-tables
FARADAY_HOME=/opt/faraday_data $STD venv/bin/faraday-manage create-superuser --username faraday --email faraday@example.com --password "$FARADAY_PASSWORD"
msg_ok "Configured Faraday"
msg_info "Creating Services"
cat <<EOF >/etc/systemd/system/faraday-server.service
[Unit]
Description=Faraday Server
After=network.target postgresql.service redis-server.service
[Service]
Type=exec
Environment=FARADAY_HOME=/opt/faraday_data
ExecStart=/opt/faraday/venv/bin/faraday-server
Restart=always
[Install]
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/faraday-worker.service
[Unit]
Description=Faraday Worker
After=network.target postgresql.service redis-server.service
[Service]
Type=exec
Environment=FARADAY_HOME=/opt/faraday_data
ExecStart=/opt/faraday/venv/bin/faraday-worker
Restart=always
[Install]
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/faraday-beat.service
[Unit]
Description=Faraday Beat
After=network.target postgresql.service redis-server.service
[Service]
Type=exec
Environment=FARADAY_HOME=/opt/faraday_data
ExecStart=/opt/faraday/venv/bin/faraday-beat
Restart=always
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now faraday-server faraday-worker faraday-beat
msg_ok "Created Services"
motd_ssh
customize
cleanup_lxc
+4 -1
View File
@@ -57,7 +57,10 @@ RestartSec=5
WantedBy=multi-user.target
EOF
systemctl enable -q --now t3code
sleep 5
for _ in {1..60}; do
[[ -f /opt/t3code/userdata/server-runtime.json ]] && curl -s -o /dev/null http://127.0.0.1:3773 && break
sleep 2
done
msg_ok "Created Service"
motd_ssh