Compare commits

...
Author SHA1 Message Date
Tobias 353f4deb0a rm ai comments 2026-11-22 13:44:47 +01:00
push-app-to-main[bot] 4c9f1d5d56 Add bytechef (ct) 2026-11-22 10:19:29 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] fcddde340e Update CHANGELOG.md (#18917)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 09:53:53 +00:00
3 changed files with 152 additions and 1 deletions

No files matched your search

+2 -1
View File
@@ -591,7 +591,8 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
### 🆕 New Scripts
- Mathesar [@MickLesk](https://github.com/MickLesk) ([#18914](https://github.com/community-scripts/ProxmoxVE/pull/18914))
- Ideon [@MickLesk](https://github.com/MickLesk) ([#18915](https://github.com/community-scripts/ProxmoxVE/pull/18915))
- Mathesar [@MickLesk](https://github.com/MickLesk) ([#18914](https://github.com/community-scripts/ProxmoxVE/pull/18914))
## 2026-11-21
+71
View File
@@ -0,0 +1,71 @@
#!/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/bytechefhq/bytechef
APP="ByteChef"
var_tags="${var_tags:-automation;workflow;integration}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-6144}"
var_disk="${var_disk:-12}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
var_unprivileged="${var_unprivileged:-1}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/bytechef ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "bytechef" "bytechefhq/bytechef"; then
msg_info "Stopping ByteChef"
systemctl stop bytechef
msg_ok "Stopped ByteChef"
JAVA_VERSION="25" setup_java
NODE_VERSION="24" setup_nodejs
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "bytechef" "bytechefhq/bytechef" "tarball"
msg_info "Building ByteChef (Patience)"
mv /opt/bytechef /opt/bytechef-build
cd /opt/bytechef-build/client
$STD npm ci
$STD npm run build
cd /opt/bytechef-build
$STD ./gradlew --no-daemon :server:apps:server-app:bootJar -Pprod
mkdir -p /opt/bytechef/server
mv /opt/bytechef-build/server/apps/server-app/build/libs/server-app-*.jar /opt/bytechef/server/server-app.jar
mv /opt/bytechef-build/client/dist /opt/bytechef/client
rm -rf /opt/bytechef-build ~/.gradle ~/.npm
msg_ok "Built ByteChef"
msg_info "Starting ByteChef"
systemctl start bytechef
msg_ok "Started ByteChef"
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}:8080${CL}"
+79
View File
@@ -0,0 +1,79 @@
#!/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/bytechefhq/bytechef
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
JAVA_VERSION="25" setup_java
NODE_VERSION="24" setup_nodejs
PG_VERSION="16" setup_postgresql
PG_DB_NAME="bytechef" PG_DB_USER="bytechef" setup_postgresql_db
fetch_and_deploy_gh_release "bytechef" "bytechefhq/bytechef" "tarball"
msg_info "Building ByteChef (Patience)"
mv /opt/bytechef /opt/bytechef-build
cd /opt/bytechef-build/client
$STD npm ci
$STD npm run build
cd /opt/bytechef-build
$STD ./gradlew --no-daemon :server:apps:server-app:bootJar -Pprod
mkdir -p /opt/bytechef/server
mv /opt/bytechef-build/server/apps/server-app/build/libs/server-app-*.jar /opt/bytechef/server/server-app.jar
mv /opt/bytechef-build/client/dist /opt/bytechef/client
rm -rf /opt/bytechef-build ~/.gradle ~/.npm
msg_ok "Built ByteChef"
msg_info "Configuring ByteChef"
mkdir -p /opt/bytechef_data/file-storage
cat <<EOF >/opt/bytechef_data/.env
BYTECHEF_DATASOURCE_URL=jdbc:postgresql://localhost:5432/bytechef
BYTECHEF_DATASOURCE_USERNAME=bytechef
BYTECHEF_DATASOURCE_PASSWORD=${PG_DB_PASS}
BYTECHEF_PUBLIC_URL=http://${LOCAL_IP}:8080
BYTECHEF_ANALYTICS_ENABLED=false
BYTECHEF_ENCRYPTION_PROVIDER=property
BYTECHEF_ENCRYPTION_PROPERTY_KEY=$(openssl rand -base64 32)
BYTECHEF_SECURITY_REMEMBER_ME_KEY=$(openssl rand -base64 32)
BYTECHEF_FILE_STORAGE_FILESYSTEM_BASEDIR=/opt/bytechef_data/file-storage
LOGGING_LEVEL_ROOT=INFO
LOGGING_LEVEL_COM_BYTECHEF=INFO
EOF
chmod 600 /opt/bytechef_data/.env
msg_ok "Configured ByteChef"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/bytechef.service
[Unit]
Description=ByteChef
After=network.target postgresql.service
Requires=postgresql.service
[Service]
Type=simple
User=root
WorkingDirectory=/opt/bytechef
EnvironmentFile=/opt/bytechef_data/.env
ExecStart=/usr/bin/java -Dfile.encoding=UTF-8 -Duser.timezone=GMT -jar /opt/bytechef/server/server-app.jar
SuccessExitStatus=143
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now bytechef
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc