diff --git a/ct/docmost.sh b/ct/docmost.sh index 58d9823f5..7506c47fd 100644 --- a/ct/docmost.sh +++ b/ct/docmost.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-3}" var_ram="${var_ram:-4096}" var_disk="${var_disk:-8}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" header_info "$APP" variables diff --git a/frontend/public/json/docmost.json b/frontend/public/json/docmost.json index 791974132..2c1f5fce4 100644 --- a/frontend/public/json/docmost.json +++ b/frontend/public/json/docmost.json @@ -23,7 +23,7 @@ "ram": 4096, "hdd": 8, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/install/docmost-install.sh b/install/docmost-install.sh index 43c0a8ffb..ec10cceb2 100644 --- a/install/docmost-install.sh +++ b/install/docmost-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ redis \ jq \ make @@ -48,6 +48,8 @@ mkdir data sed -i -e "s|APP_SECRET=.*|APP_SECRET=$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | cut -c1-32)|" \ -e "s|DATABASE_URL=.*|DATABASE_URL=postgres://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME|" \ -e "s|FILE_UPLOAD_SIZE_LIMIT=.*|FILE_UPLOAD_SIZE_LIMIT=50mb|" \ + -e "s|DRAWIO_URL=.*|DRAWIO_URL=https://embed.diagrams.net|" \ + -e "s|DISABLE_TELEMETRY=.*|DISABLE_TELEMETRY=true|" \ /opt/docmost/.env export NODE_OPTIONS="--max-old-space-size=2048" $STD pnpm install @@ -76,6 +78,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned"