diff --git a/ct/headers/meilisearch b/ct/headers/meilisearch deleted file mode 100644 index 955aaae..0000000 --- a/ct/headers/meilisearch +++ /dev/null @@ -1,6 +0,0 @@ - __ ___ _ ___ __ - / |/ /__ (_) (_)_______ ____ ___________/ /_ - / /|_/ / _ \/ / / / ___/ _ \/ __ `/ ___/ ___/ __ \ - / / / / __/ / / (__ ) __/ /_/ / / / /__/ / / / -/_/ /_/\___/_/_/_/____/\___/\__,_/_/ \___/_/ /_/ - diff --git a/ct/meilisearch.sh b/ct/meilisearch.sh deleted file mode 100644 index a6cbf89..0000000 --- a/ct/meilisearch.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) -# Copyright (c) 2021-2025 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE -# Source: https://www.meilisearch.com/ - -APP="Meilisearch" -var_tags="${var_tags:-full-text-search}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-4096}" -var_disk="${var_disk:-7}" -var_os="${var_os:-debian}" -var_version="${var_version:-12}" -var_unprivileged="${var_unprivileged:-1}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - - if [[ ! -f /opt/Meilisearch_version.txt ]]; then - msg_error "No Meilisearch Installation Found!" - exit - fi - UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "Meilisearch Update" --radiolist --cancel-button Exit-Script "Spacebar = Select" 10 58 2 \ - "1" "Update Meilisearch" ON \ - "2" "Update Meilisearch-UI" OFF \ - 3>&1 1>&2 2>&3) - - if [ "$UPD" == "1" ]; then - msg_info "Stopping Meilisearch" - systemctl stop meilisearch - msg_ok "Stopped Meilisearch" - - msg_info "Updating Meilisearch" - tmp_file=$(mktemp) - RELEASE=$(curl -s https://api.github.com/repos/meilisearch/meilisearch/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') - curl -fsSL https://github.com/meilisearch/meilisearch/releases/latest/download/meilisearch.deb -o $tmp_file - $STD dpkg -i $tmp_file - echo "$RELEASE" >/opt/meilisearch_version.txt - msg_ok "Updated Meilisearch" - - msg_info "Starting Meilisearch" - systemctl start meilisearch - msg_ok "Started Meilisearch" - exit - fi - - if [ "$UPD" == "2" ]; then - if [[ ! -f /opt/Meilisearch-ui_version.txt ]]; then - msg_error "No Meilisearch-UI Installation Found!" - exit - fi - msg_info "Stopping Meilisearch-UI" - systemctl stop meilisearch-ui - msg_ok "Stopped Meilisearch-UI" - - msg_info "Updating Meilisearch-UI" - tmp_file=$(mktemp) - tmp_dir=$(mktemp -d) - RELEASE_UI=$(curl -s https://api.github.com/repos/riccox/meilisearch-ui/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') - cp /opt/meilisearch-ui/.env.local /tmp/.env.local.bak - rm -rf /opt/meilisearch-ui - mkdir -p /opt/meilisearch-ui - curl -fsSL "https://github.com/riccox/meilisearch-ui/archive/refs/tags/${RELEASE_UI}.zip" -o $tmp_file - unzip -q "$tmp_file" -d "$tmp_dir" - mv "$tmp_dir"/*/* /opt/meilisearch-ui/ - cd /opt/meilisearch-ui - sed -i 's|const hash = execSync("git rev-parse HEAD").toString().trim();|const hash = "unknown";|' /opt/meilisearch-ui/vite.config.ts - mv /tmp/.env.local.bak /opt/meilisearch-ui/.env.local - $STD pnpm install - echo "$RELEASE_UI" >/opt/meilisearch-ui_version.txt - msg_ok "Updated Meilisearch-UI" - - msg_info "Starting Meilisearch-UI" - systemctl start meilisearch-ui - msg_ok "Started Meilisearch-UI" - exit - fi -} - -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 "${TAB}${GATEWAY}${BGN}meilisearch: http://${IP}:7700$ | meilisearch-ui: http://${IP}:24900${CL}" diff --git a/ct/reactive-resume.sh b/ct/reactive-resume.sh index 8ebcb84..6dc6665 100644 --- a/ct/reactive-resume.sh +++ b/ct/reactive-resume.sh @@ -45,6 +45,8 @@ function update_script() { cd /opt/${APP} export PUPPETEER_SKIP_DOWNLOAD="true" export NEXT_TELEMETRY_DISABLED=1 + export CI="true" + export NODE_ENV="production" $STD pnpm install --frozen-lockfile $STD pnpm run build $STD pnpm run prisma:generate diff --git a/frontend/package-lock.json b/frontend/package-lock.json index b4bf3c3..1125ea9 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -9665,9 +9665,9 @@ "license": "MIT" }, "node_modules/vite": { - "version": "6.2.4", - "resolved": "https://registry.npmjs.org/vite/-/vite-6.2.4.tgz", - "integrity": "sha512-veHMSew8CcRzhL5o8ONjy8gkfmFJAd5Ac16oxBUjlwgX3Gq2Wqr+qNC3TjPIpy7TPV/KporLga5GT9HqdrCizw==", + "version": "6.2.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.2.5.tgz", + "integrity": "sha512-j023J/hCAa4pRIUH6J9HemwYfjB5llR2Ps0CWeikOtdR8+pAURAk0DoJC5/mm9kd+UgdnIy7d6HE4EAvlYhPhA==", "dev": true, "license": "MIT", "dependencies": { diff --git a/frontend/public/json/meilisearch.json b/frontend/public/json/meilisearch.json deleted file mode 100644 index 0d27d92..0000000 --- a/frontend/public/json/meilisearch.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "Meilisearch", - "slug": "meilisearch", - "categories": [ - 8 - ], - "date_created": "2025-04-03", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 7700, - "documentation": "https://www.meilisearch.com/docs", - "website": "https://www.meilisearch.com/", - "logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/meilisearch.svg", - "description": "Meilisearch is a fast, open-source search engine designed for instant, full-text search with typo tolerance. It provides an API that allows developers to integrate powerful search features into applications. Meilisearch-UI is an optional web-based interface that provides a simple way to interact with Meilisearch, visualize indexed data, and test queries without needing to use the API directly.", - "install_methods": [ - { - "type": "default", - "script": "ct/meilisearch.sh", - "resources": { - "cpu": 2, - "ram": 4096, - "hdd": 7, - "os": "Debian", - "version": "12" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "Meilisearch-UI can optionally be installed for a web-based search interface", - "type": "info" - }, - { - "text": "Meilisearch-UI has early development status and can caused performance issues", - "type": "warn" - } - ] -} diff --git a/frontend/public/json/versions.json b/frontend/public/json/versions.json index 3c04b35..1b3c455 100644 --- a/frontend/public/json/versions.json +++ b/frontend/public/json/versions.json @@ -1,13 +1,138 @@ [ + { + "name": "semaphoreui/semaphore", + "version": "v2.13.8-beta2", + "date": "2025-04-06T06:36:42Z" + }, + { + "name": "karakeep-app/karakeep", + "version": "ios/v1.6.9-1", + "date": "2025-04-06T10:51:57Z" + }, + { + "name": "fallenbagel/jellyseerr", + "version": "preview-back-to-axios", + "date": "2025-04-06T10:39:06Z" + }, + { + "name": "TriliumNext/Notes", + "version": "v0.92.6", + "date": "2025-04-06T10:38:54Z" + }, { "name": "fhem/fhem-mirror", "version": "6.2", - "date": "2025-04-03T10:34:03Z" + "date": "2025-04-06T10:31:42Z" }, { - "name": "dgtlmoon/changedetection.io", - "version": "0.49.10", - "date": "2025-04-03T09:17:54Z" + "name": "kimai/kimai", + "version": "2.32.0", + "date": "2025-04-06T09:43:51Z" + }, + { + "name": "Jackett/Jackett", + "version": "v0.22.1733", + "date": "2025-04-06T06:00:36Z" + }, + { + "name": "inventree/InvenTree", + "version": "0.17.10", + "date": "2025-04-06T05:31:49Z" + }, + { + "name": "firefly-iii/firefly-iii", + "version": "v6.2.10", + "date": "2025-03-22T13:02:26Z" + }, + { + "name": "ollama/ollama", + "version": "v0.6.5-rc0", + "date": "2025-04-03T23:57:36Z" + }, + { + "name": "jellyfin/jellyfin", + "version": "v10.10.7", + "date": "2025-04-05T19:14:59Z" + }, + { + "name": "azukaar/Cosmos-Server", + "version": "v0.18.4", + "date": "2025-04-05T19:12:57Z" + }, + { + "name": "wger-project/wger", + "version": "2.3", + "date": "2025-04-05T18:05:36Z" + }, + { + "name": "Paymenter/Paymenter", + "version": "v1.0.2", + "date": "2025-04-05T17:40:25Z" + }, + { + "name": "open-webui/open-webui", + "version": "v0.6.1", + "date": "2025-04-05T17:15:47Z" + }, + { + "name": "keycloak/keycloak", + "version": "26.1.4", + "date": "2025-03-13T15:41:42Z" + }, + { + "name": "stonith404/pingvin-share", + "version": "v1.11.0", + "date": "2025-04-05T14:56:47Z" + }, + { + "name": "bastienwirtz/homer", + "version": "v25.04.1", + "date": "2025-04-05T12:39:18Z" + }, + { + "name": "navidrome/navidrome", + "version": "v0.55.2", + "date": "2025-04-05T12:07:32Z" + }, + { + "name": "Kozea/Radicale", + "version": "v3.5.1", + "date": "2025-04-05T06:20:18Z" + }, + { + "name": "actualbudget/actual", + "version": "v25.4.0", + "date": "2025-04-05T04:14:57Z" + }, + { + "name": "home-assistant/core", + "version": "2025.4.1", + "date": "2025-04-04T20:59:57Z" + }, + { + "name": "Koenkk/zigbee2mqtt", + "version": "2.2.1", + "date": "2025-04-04T20:15:48Z" + }, + { + "name": "YunoHost/yunohost", + "version": "debian/12.0.13", + "date": "2025-04-04T20:05:45Z" + }, + { + "name": "coder/code-server", + "version": "v4.98.2", + "date": "2025-03-15T02:11:28Z" + }, + { + "name": "homarr-labs/homarr", + "version": "v1.14.0", + "date": "2025-04-04T19:15:59Z" + }, + { + "name": "Athou/commafeed", + "version": "5.7.0", + "date": "2025-04-04T18:10:16Z" }, { "name": "syncthing/syncthing", @@ -15,9 +140,54 @@ "date": "2025-04-01T08:45:07Z" }, { - "name": "firefly-iii/firefly-iii", - "version": "v6.2.10", - "date": "2025-03-22T13:02:26Z" + "name": "icereed/paperless-gpt", + "version": "v0.14.4", + "date": "2025-04-04T14:18:53Z" + }, + { + "name": "nzbgetcom/nzbget", + "version": "v24.8", + "date": "2025-03-18T07:33:51Z" + }, + { + "name": "apache/tomcat", + "version": "9.0.104", + "date": "2025-04-04T12:58:11Z" + }, + { + "name": "Dolibarr/dolibarr", + "version": "21.0.1", + "date": "2025-04-04T12:56:35Z" + }, + { + "name": "sabnzbd/sabnzbd", + "version": "4.5.0", + "date": "2025-03-30T16:17:11Z" + }, + { + "name": "dgtlmoon/changedetection.io", + "version": "0.49.12", + "date": "2025-04-04T07:31:08Z" + }, + { + "name": "morpheus65535/bazarr", + "version": "v1.5.1", + "date": "2025-01-01T16:15:52Z" + }, + { + "name": "wazuh/wazuh", + "version": "coverity-w14-4.12.0", + "date": "2025-04-04T00:03:06Z" + }, + { + "name": "minio/minio", + "version": "RELEASE.2025-04-03T14-56-28Z", + "date": "2025-04-03T19:08:18Z" + }, + { + "name": "OctoPrint/OctoPrint", + "version": "1.10.3", + "date": "2024-11-05T09:20:50Z" }, { "name": "Graylog2/graylog2-server", @@ -29,11 +199,6 @@ "version": "@jupyter-notebook/ui-components@7.4.0-rc.0", "date": "2025-04-03T06:49:38Z" }, - { - "name": "Jackett/Jackett", - "version": "v0.22.1722", - "date": "2025-04-03T05:51:10Z" - }, { "name": "mattermost/mattermost", "version": "server/public/v0.1.11", @@ -44,21 +209,11 @@ "version": "v4.0.8", "date": "2025-04-03T05:11:15Z" }, - { - "name": "ollama/ollama", - "version": "v0.6.3-rc1", - "date": "2025-03-26T20:39:01Z" - }, { "name": "HabitRPG/habitica", "version": "v5.35.1", "date": "2025-04-02T21:49:00Z" }, - { - "name": "keycloak/keycloak", - "version": "26.1.4", - "date": "2025-03-13T15:41:42Z" - }, { "name": "redis/redis", "version": "8.0-rc1-int2", @@ -69,11 +224,6 @@ "version": "v2.63.9", "date": "2025-03-31T12:47:21Z" }, - { - "name": "home-assistant/core", - "version": "2025.4.0", - "date": "2025-04-02T17:01:41Z" - }, { "name": "BookStackApp/BookStack", "version": "v25.02.2", @@ -99,11 +249,6 @@ "version": "v1.4.6", "date": "2025-04-02T14:07:12Z" }, - { - "name": "wazuh/wazuh", - "version": "v4.11.2", - "date": "2025-04-02T13:40:18Z" - }, { "name": "zwave-js/zwave-js-ui", "version": "v10.1.4", @@ -119,26 +264,6 @@ "version": "v1.131.3", "date": "2025-04-01T22:48:22Z" }, - { - "name": "icereed/paperless-gpt", - "version": "v0.14.3", - "date": "2025-04-01T19:53:18Z" - }, - { - "name": "fallenbagel/jellyseerr", - "version": "preview-music-support", - "date": "2025-04-01T19:04:25Z" - }, - { - "name": "Koenkk/zigbee2mqtt", - "version": "2.2.0", - "date": "2025-04-01T18:50:44Z" - }, - { - "name": "apache/tomcat", - "version": "9.0.103", - "date": "2025-04-01T18:39:51Z" - }, { "name": "MagicMirrorOrg/MagicMirror", "version": "v2.31.0", @@ -169,16 +294,6 @@ "version": "v11.8.6", "date": "2025-04-01T13:52:03Z" }, - { - "name": "OctoPrint/OctoPrint", - "version": "1.10.3", - "date": "2024-11-05T09:20:50Z" - }, - { - "name": "semaphoreui/semaphore", - "version": "v2.13.7", - "date": "2025-04-01T09:41:55Z" - }, { "name": "neo4j/neo4j", "version": "5.26.5", @@ -189,11 +304,6 @@ "version": "v4.0.2", "date": "2025-04-01T04:51:05Z" }, - { - "name": "open-webui/open-webui", - "version": "v0.6.0", - "date": "2025-04-01T01:47:32Z" - }, { "name": "outline/outline", "version": "v0.82.1-18", @@ -239,11 +349,6 @@ "version": "4.8.11.0", "date": "2025-03-10T06:39:11Z" }, - { - "name": "TriliumNext/Notes", - "version": "v0.92.5", - "date": "2025-03-30T12:32:43Z" - }, { "name": "StarFleetCPTN/GoMFT", "version": "v0.2.4", @@ -259,11 +364,6 @@ "version": "v6.0.6", "date": "2025-03-30T16:59:06Z" }, - { - "name": "sabnzbd/sabnzbd", - "version": "4.5.0", - "date": "2025-03-30T16:17:11Z" - }, { "name": "Part-DB/Part-DB-server", "version": "v1.17.0", @@ -334,11 +434,6 @@ "version": "2025.3.28", "date": "2025-03-29T00:18:56Z" }, - { - "name": "homarr-labs/homarr", - "version": "v1.13.1", - "date": "2025-03-28T21:58:30Z" - }, { "name": "TasmoAdmin/TasmoAdmin", "version": "v4.2.3", @@ -373,100 +468,5 @@ "name": "goauthentik/authentik", "version": "version/2025.2.3", "date": "2025-03-28T14:28:34Z" - }, - { - "name": "hakimel/reveal.js", - "version": "5.2.1", - "date": "2025-03-28T13:00:23Z" - }, - { - "name": "cockpit-project/cockpit", - "version": "336.2", - "date": "2025-03-28T10:16:47Z" - }, - { - "name": "YunoHost/yunohost", - "version": "debian/12.0.12", - "date": "2025-03-16T11:59:24Z" - }, - { - "name": "gethomepage/homepage", - "version": "v1.1.1", - "date": "2025-03-28T04:12:31Z" - }, - { - "name": "Bubka/2FAuth", - "version": "v5.5.0", - "date": "2025-03-27T22:35:02Z" - }, - { - "name": "ellite/Wallos", - "version": "v2.48.1", - "date": "2025-03-27T22:02:16Z" - }, - { - "name": "hivemq/hivemq-community-edition", - "version": "2025.2", - "date": "2025-03-27T19:21:13Z" - }, - { - "name": "TandoorRecipes/recipes", - "version": "1.5.34", - "date": "2025-03-27T16:17:38Z" - }, - { - "name": "tailscale/tailscale", - "version": "v1.82.0", - "date": "2025-03-27T13:08:18Z" - }, - { - "name": "zabbix/zabbix", - "version": "7.2.5", - "date": "2025-03-27T11:06:48Z" - }, - { - "name": "evcc-io/evcc", - "version": "0.202.1", - "date": "2025-03-27T08:24:55Z" - }, - { - "name": "morpheus65535/bazarr", - "version": "v1.5.1", - "date": "2025-01-01T16:15:52Z" - }, - { - "name": "openobserve/openobserve", - "version": "v0.14.5-rc6", - "date": "2025-03-27T05:15:49Z" - }, - { - "name": "duplicati/duplicati", - "version": "v2.1.0.112-2.1.0.112_canary_2025-03-26", - "date": "2025-03-26T21:04:38Z" - }, - { - "name": "prometheus/prometheus", - "version": "v0.303.0-rc.0", - "date": "2025-03-26T12:48:46Z" - }, - { - "name": "forgejo/forgejo", - "version": "v12.0.0-dev", - "date": "2025-03-26T09:58:55Z" - }, - { - "name": "sct/overseerr", - "version": "v1.34.0", - "date": "2025-03-26T08:48:34Z" - }, - { - "name": "grafana/grafana", - "version": "v11.6.0", - "date": "2025-03-25T22:10:15Z" - }, - { - "name": "Stirling-Tools/Stirling-PDF", - "version": "v0.45.0", - "date": "2025-03-25T18:48:17Z" } ] diff --git a/install/bar-assistant-install.sh b/install/bar-assistant-install.sh index bacec12..a89c395 100644 --- a/install/bar-assistant-install.sh +++ b/install/bar-assistant-install.sh @@ -113,8 +113,8 @@ mv /opt/vue-salt-rim-${RELEASE_SALTRIM}/ /opt/vue-salt-rim cd /opt/vue-salt-rim cat </opt/vue-salt-rim/public/config.js window.srConfig = {} -window.srConfig.API_URL = "http://${LOCAL_IP}/bar/" -window.srConfig.MEILISEARCH_URL = "http://${LOCAL_IP}/search/" +window.srConfig.API_URL = "http://${LOCAL_IP}/bar" +window.srConfig.MEILISEARCH_URL = "http://${LOCAL_IP}/search" EOF $STD npm install $STD npm run build diff --git a/install/meilisearch-install.sh b/install/meilisearch-install.sh deleted file mode 100644 index 258ff10..0000000 --- a/install/meilisearch-install.sh +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2025 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE -# Source: https://www.meilisearch.com/ - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt-get install -y \ - curl \ - sudo \ - gnupg \ - mc -msg_ok "Installed Dependencies" - -msg_info "Setup ${APPLICATION}" -tmp_file=$(mktemp) -RELEASE=$(curl -s https://api.github.com/repos/meilisearch/meilisearch/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') -curl -fsSL https://github.com/meilisearch/meilisearch/releases/latest/download/meilisearch.deb -o $tmp_file -$STD dpkg -i $tmp_file -curl -fsSL https://raw.githubusercontent.com/meilisearch/meilisearch/latest/config.toml -o /etc/meilisearch.toml -MASTER_KEY=$(openssl rand -base64 12) -LOCAL_IP="$(hostname -I | awk '{print $1}')" -sed -i \ - -e 's|^env =.*|env = "production"|' \ - -e "s|^# master_key =.*|master_key = \"$MASTER_KEY\"|" \ - -e 's|^db_path =.*|db_path = "/var/lib/meilisearch/data"|' \ - -e 's|^dump_dir =.*|dump_dir = "/var/lib/meilisearch/dumps"|' \ - -e 's|^snapshot_dir =.*|snapshot_dir = "/var/lib/meilisearch/snapshots"|' \ - -e 's|^# no_analytics = true|no_analytics = true|' \ - -e 's|^http_addr =.*|http_addr = "0.0.0.0:7700"|' \ - /etc/meilisearch.toml -echo "${RELEASE}" >/opt/${APPLICATION}_version.txt -msg_ok "Setup ${APPLICATION}" - -read -r -p "Do you want add meilisearch-ui? [y/n]: " prompt -if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then - msg_info "Setting up Node.js Repository" - mkdir -p /etc/apt/keyrings - curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg - echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" >/etc/apt/sources.list.d/nodesource.list - msg_ok "Set up Node.js Repository" - - msg_info "Installing Node.js" - $STD apt-get update - $STD apt-get install -y nodejs - $STD npm install -g pnpm - msg_ok "Installed Node.js" - - msg_info "Setup ${APPLICATION}-ui" - tmp_file=$(mktemp) - tmp_dir=$(mktemp -d) - mkdir -p /opt/meilisearch-ui - RELEASE_UI=$(curl -s https://api.github.com/repos/riccox/meilisearch-ui/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') - curl -fsSL "https://github.com/riccox/meilisearch-ui/archive/refs/tags/${RELEASE_UI}.zip" -o $tmp_file - unzip -q "$tmp_file" -d "$tmp_dir" - mv "$tmp_dir"/*/* /opt/meilisearch-ui/ - cd /opt/meilisearch-ui - sed -i 's|const hash = execSync("git rev-parse HEAD").toString().trim();|const hash = "unknown";|' /opt/meilisearch-ui/vite.config.ts - $STD pnpm install - cat < /opt/meilisearch-ui/.env.local -VITE_SINGLETON_MODE=true -VITE_SINGLETON_HOST=http://${LOCAL_IP}:7700 -VITE_SINGLETON_API_KEY=${MASTER_KEY} -EOF - echo "${RELEASE_UI}" >/opt/${APPLICATION}-ui_version.txt - msg_ok "Setup ${APPLICATION}-ui" -fi - -msg_info "Setting up Services" -cat </etc/systemd/system/meilisearch.service -[Unit] -Description=Meilisearch -After=network.target - -[Service] -ExecStart=/usr/bin/meilisearch --config-file-path /etc/meilisearch.toml -Restart=always - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now meilisearch - -if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then -cat < /etc/systemd/system/meilisearch-ui.service -[Unit] -Description=Meilisearch UI Service -After=network.target meilisearch.service -Requires=meilisearch.service - -[Service] -User=root -WorkingDirectory=/opt/meilisearch-ui -ExecStart=/usr/bin/pnpm start -Restart=always -RestartSec=5 -StandardOutput=syslog -StandardError=syslog -SyslogIdentifier=meilisearch-ui - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now meilisearch-ui -fi - -msg_ok "Set up Services" - - -motd_ssh -customize - -msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean -msg_ok "Cleaned" diff --git a/install/reactive-resume-install.sh b/install/reactive-resume-install.sh index 0aa6262..a429f72 100644 --- a/install/reactive-resume-install.sh +++ b/install/reactive-resume-install.sh @@ -15,13 +15,10 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - curl \ - sudo \ - mc \ gnupg \ unzip \ - postgresql-common \ - msg_ok "Installed Dependencies" + postgresql-common +msg_ok "Installed Dependencies" msg_info "Installing Additional Dependencies" mkdir -p /etc/apt/keyrings @@ -186,6 +183,7 @@ customize msg_info "Cleaning up" rm -f /tmp/v${RELEASE}.zip +rm -f /tmp/v${TAG}.zip rm -f /tmp/minio.deb $STD apt-get -y autoremove $STD apt-get -y autoclean