This commit is contained in:
CanbiZ (MickLesk)
2026-03-26 07:57:35 +01:00
parent 12623452a7
commit 2b98ea03e9
13 changed files with 27 additions and 28 deletions

View File

@@ -27,10 +27,9 @@ msg_ok "Installed Dependencies"
PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql
PG_DB_NAME="affine" PG_DB_USER="affine" setup_postgresql_db PG_DB_NAME="affine" PG_DB_USER="affine" setup_postgresql_db
NODE_VERSION="22" setup_nodejs NODE_VERSION="24" setup_nodejs
setup_rust setup_rust
fetch_and_deploy_gh_release "affine_app" "toeverything/AFFiNE" "tarball" "latest" "/opt/affine" fetch_and_deploy_gh_release "affine_app" "toeverything/AFFiNE" "tarball" "latest" "/opt/affine"
msg_info "Setting up Directories" msg_info "Setting up Directories"

View File

@@ -13,7 +13,7 @@ setting_up_container
network_check network_check
update_os update_os
NODE_VERSION="22" setup_nodejs NODE_VERSION="24" setup_nodejs
fetch_and_deploy_gh_release "kanba" "Kanba-co/kanba" "tarball" "latest" "/opt/kanba" fetch_and_deploy_gh_release "kanba" "Kanba-co/kanba" "tarball" "latest" "/opt/kanba"
fetch_and_deploy_gh_release "supabase" "supabase/cli" "binary" "latest" "/opt/supabase" "supabase-linux-x64" fetch_and_deploy_gh_release "supabase" "supabase/cli" "binary" "latest" "/opt/supabase" "supabase-linux-x64"
POSTGRES_VERSION="16" setup_postgresql POSTGRES_VERSION="16" setup_postgresql
@@ -29,10 +29,10 @@ $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8'
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET default_transaction_isolation TO 'read committed';" $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET default_transaction_isolation TO 'read committed';"
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET timezone TO 'UTC';" $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET timezone TO 'UTC';"
{ {
echo "Kanba-Credentials" echo "Kanba-Credentials"
echo "Kanba Database Name: $DB_NAME" echo "Kanba Database Name: $DB_NAME"
echo "Kanba Database User: $DB_USER" echo "Kanba Database User: $DB_USER"
echo "Kanba Database Password: $DB_PASS" echo "Kanba Database Password: $DB_PASS"
} >>~/kanba.creds } >>~/kanba.creds
msg_ok "Set up PostgreSQL Database" msg_ok "Set up PostgreSQL Database"

View File

@@ -15,15 +15,15 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
build-essential \ build-essential \
make \ make \
git git
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
## WIP - only protoype with git call ## WIP - only protoype with git call
setup_go setup_go
NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
msg_info "Setup ocis" msg_info "Setup ocis"
cd /opt cd /opt

View File

@@ -29,7 +29,7 @@ $STD apt install -y \
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
PG_VERSION="17" PG_MODULES="pgvector" setup_postgresql PG_VERSION="17" PG_MODULES="pgvector" setup_postgresql
NODE_VERSION="22" setup_nodejs NODE_VERSION="24" setup_nodejs
RUBY_VERSION="3.4.4" setup_ruby RUBY_VERSION="3.4.4" setup_ruby
msg_info "Configuring PostgreSQL for Discourse" msg_info "Configuring PostgreSQL for Discourse"

View File

@@ -32,7 +32,7 @@ $STD apt install -y \
libmariadb-dev libmariadb-dev
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs NODE_VERSION="24" NODE_MODULE="yarn" setup_nodejs
UV_PYTHON="3.13" setup_uv UV_PYTHON="3.13" setup_uv
setup_mariadb setup_mariadb

View File

@@ -17,7 +17,7 @@ $STD apt install -y \
gh gh
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
NODE_VERSION="22" setup_nodejs NODE_VERSION="24" setup_nodejs
msg_info "Creating runner user (no sudo)" msg_info "Creating runner user (no sudo)"
if ! getent passwd runner >/dev/null 2>&1; then if ! getent passwd runner >/dev/null 2>&1; then

View File

@@ -17,7 +17,7 @@ MONGO_VERSION="8.0" setup_mongodb
setup_meilisearch setup_meilisearch
PG_VERSION="17" PG_MODULES="pgvector" setup_postgresql PG_VERSION="17" PG_MODULES="pgvector" setup_postgresql
PG_DB_NAME="ragapi" PG_DB_USER="ragapi" PG_DB_EXTENSIONS="vector" setup_postgresql_db PG_DB_NAME="ragapi" PG_DB_USER="ragapi" PG_DB_EXTENSIONS="vector" setup_postgresql_db
NODE_VERSION="22" setup_nodejs NODE_VERSION="24" setup_nodejs
UV_PYTHON="3.12" setup_uv UV_PYTHON="3.12" setup_uv
fetch_and_deploy_gh_tag "librechat" "danny-avila/LibreChat" fetch_and_deploy_gh_tag "librechat" "danny-avila/LibreChat"

View File

@@ -32,7 +32,7 @@ $STD apt install -y \
rabbitmq-server rabbitmq-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
NODE_VERSION="22" setup_nodejs NODE_VERSION="24" setup_nodejs
PG_VERSION="16" setup_postgresql PG_VERSION="16" setup_postgresql
PG_DB_NAME="plane" PG_DB_USER="plane" setup_postgresql_db PG_DB_NAME="plane" PG_DB_USER="plane" setup_postgresql_db
@@ -154,7 +154,7 @@ GUNICORN_WORKERS=2
LIVE_SERVER_SECRET_KEY=${LIVE_SECRET} LIVE_SERVER_SECRET_KEY=${LIVE_SECRET}
API_KEY_RATE_LIMIT=60/minute API_KEY_RATE_LIMIT=60/minute
EOF EOF
cat <<EOF>/opt/plane/.env cat <<EOF >/opt/plane/.env
API_BASE_URL=http://localhost:8000 API_BASE_URL=http://localhost:8000
LIVE_SERVER_SECRET_KEY=${LIVE_SECRET} LIVE_SERVER_SECRET_KEY=${LIVE_SECRET}
REDIS_HOST=localhost REDIS_HOST=localhost
@@ -271,12 +271,12 @@ EOF
systemctl daemon-reload systemctl daemon-reload
systemctl enable -q --now plane-api plane-worker plane-beat plane-live plane-space systemctl enable -q --now plane-api plane-worker plane-beat plane-live plane-space
{ {
echo "RabbitMQ User: plane" echo "RabbitMQ User: plane"
echo "RabbitMQ Password: ${RABBITMQ_PASS}" echo "RabbitMQ Password: ${RABBITMQ_PASS}"
echo "MinIO Access Key: ${MINIO_ACCESS_KEY}" echo "MinIO Access Key: ${MINIO_ACCESS_KEY}"
echo "MinIO Secret Key: ${MINIO_SECRET_KEY}" echo "MinIO Secret Key: ${MINIO_SECRET_KEY}"
echo "Secret Key: ${SECRET_KEY}" echo "Secret Key: ${SECRET_KEY}"
echo "Config: /opt/plane/apps/api/.env" echo "Config: /opt/plane/apps/api/.env"
} >>~/plane.creds } >>~/plane.creds
msg_ok "Created Services and MinIO Bucket" msg_ok "Created Services and MinIO Bucket"

View File

@@ -23,7 +23,7 @@ msg_ok "Installed Dependencies"
PG_VERSION="17" setup_postgresql PG_VERSION="17" setup_postgresql
PG_DB_NAME="postiz" PG_DB_USER="postiz" setup_postgresql_db PG_DB_NAME="postiz" PG_DB_USER="postiz" setup_postgresql_db
NODE_VERSION="22" setup_nodejs NODE_VERSION="24" setup_nodejs
msg_info "Installing pnpm" msg_info "Installing pnpm"
$STD npm install -g pnpm@10.6.1 $STD npm install -g pnpm@10.6.1

View File

@@ -33,7 +33,7 @@ msg_ok "Installed Dependencies"
PG_VERSION="17" setup_postgresql PG_VERSION="17" setup_postgresql
APPLICATION="simplelogin" PG_DB_NAME="simplelogin" PG_DB_USER="simplelogin" setup_postgresql_db APPLICATION="simplelogin" PG_DB_NAME="simplelogin" PG_DB_USER="simplelogin" setup_postgresql_db
PYTHON_VERSION="3.12" setup_uv PYTHON_VERSION="3.12" setup_uv
NODE_VERSION="22" setup_nodejs NODE_VERSION="24" setup_nodejs
fetch_and_deploy_gh_release "simplelogin" "simple-login/app" fetch_and_deploy_gh_release "simplelogin" "simple-login/app"

View File

@@ -13,7 +13,7 @@ setting_up_container
network_check network_check
update_os update_os
NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
msg_info "Preparing Storybook" msg_info "Preparing Storybook"
mkdir -p /opt/storybook mkdir -p /opt/storybook

View File

@@ -20,7 +20,7 @@ $STD apt install -y \
git git
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
PG_VERSION="16" setup_postgresql PG_VERSION="16" setup_postgresql
PG_DB_NAME="teable" PG_DB_USER="teable" setup_postgresql_db PG_DB_NAME="teable" PG_DB_USER="teable" setup_postgresql_db

View File

@@ -28,7 +28,7 @@ $STD apt install -y \
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
UV_PYTHON="3.13" setup_uv UV_PYTHON="3.13" setup_uv
NODE_VERSION="22" setup_nodejs NODE_VERSION="24" setup_nodejs
fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-x86_64-unknown-linux-gnu.zip" fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-x86_64-unknown-linux-gnu.zip"