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

@@ -13,7 +13,7 @@ setting_up_container
network_check
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 "supabase" "supabase/cli" "binary" "latest" "/opt/supabase" "supabase-linux-x64"
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 timezone TO 'UTC';"
{
echo "Kanba-Credentials"
echo "Kanba Database Name: $DB_NAME"
echo "Kanba Database User: $DB_USER"
echo "Kanba Database Password: $DB_PASS"
echo "Kanba-Credentials"
echo "Kanba Database Name: $DB_NAME"
echo "Kanba Database User: $DB_USER"
echo "Kanba Database Password: $DB_PASS"
} >>~/kanba.creds
msg_ok "Set up PostgreSQL Database"

View File

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