mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-10 09:42:14 +02:00
+3
-1
@@ -30,6 +30,8 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ensure_dependencies build-essential
|
||||||
|
|
||||||
if check_for_gh_release "firecrawl" "firecrawl/firecrawl"; then
|
if check_for_gh_release "firecrawl" "firecrawl/firecrawl"; then
|
||||||
msg_info "Stopping Services"
|
msg_info "Stopping Services"
|
||||||
systemctl stop firecrawl firecrawl-playwright
|
systemctl stop firecrawl firecrawl-playwright
|
||||||
@@ -40,7 +42,7 @@ function update_script() {
|
|||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "firecrawl" "firecrawl/firecrawl" "tarball" "latest" "/opt/firecrawl"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "firecrawl" "firecrawl/firecrawl" "tarball" "latest" "/opt/firecrawl"
|
||||||
|
|
||||||
restore_backup
|
restore_backup
|
||||||
|
|
||||||
FDB_VERSION="$(awk -F= '/^ARG FDB_VERSION=/{print $2; exit}' /opt/firecrawl/apps/api/Dockerfile)"
|
FDB_VERSION="$(awk -F= '/^ARG FDB_VERSION=/{print $2; exit}' /opt/firecrawl/apps/api/Dockerfile)"
|
||||||
if [[ -z "$FDB_VERSION" ]]; then
|
if [[ -z "$FDB_VERSION" ]]; then
|
||||||
msg_error "FDB_VERSION pin not found in upstream Dockerfile"
|
msg_error "FDB_VERSION pin not found in upstream Dockerfile"
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ update_os
|
|||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt install -y \
|
$STD apt install -y \
|
||||||
|
build-essential \
|
||||||
cmake \
|
cmake \
|
||||||
git \
|
git \
|
||||||
nftables \
|
nftables \
|
||||||
@@ -43,7 +44,6 @@ FDB_ARCH="$(get_system_arch)"
|
|||||||
fetch_and_deploy_gh_release "foundationdb-clients" "apple/foundationdb" "binary" "$FDB_VERSION" "/opt/foundationdb-clients" "foundationdb-clients_${FDB_VERSION}-1_${FDB_ARCH}.deb"
|
fetch_and_deploy_gh_release "foundationdb-clients" "apple/foundationdb" "binary" "$FDB_VERSION" "/opt/foundationdb-clients" "foundationdb-clients_${FDB_VERSION}-1_${FDB_ARCH}.deb"
|
||||||
msg_ok "Configured FDB"
|
msg_ok "Configured FDB"
|
||||||
|
|
||||||
|
|
||||||
PG_DB_NAME="firecrawl" PG_DB_USER="firecrawl" PG_DB_EXTENSIONS="pgcrypto,pg_cron" PG_DB_CREDS_FILE="/dev/null" setup_postgresql_db
|
PG_DB_NAME="firecrawl" PG_DB_USER="firecrawl" PG_DB_EXTENSIONS="pgcrypto,pg_cron" PG_DB_CREDS_FILE="/dev/null" setup_postgresql_db
|
||||||
|
|
||||||
msg_info "Configuring pg_cron"
|
msg_info "Configuring pg_cron"
|
||||||
|
|||||||
Reference in New Issue
Block a user