Skip to content

Meilisearch

A lightning-fast search engine that fits effortlessly into your apps, websites, and workflow.

egg-meilisearch.json

updated

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Install script
42 lines

Image

  • Debian ghcr.io/ptero-eggs/yolks:debian

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

8 variables

Startup command

./meilisearch --http-addr "0.0.0.0:25565"  --max-indexing-memory="1024mb" $([ "0" -eq 1 ] && echo "--no-analytics")

Dotted values come from the server settings. These values are examples.

  • In production, a Master key of at least 16 bytes is mandatory Sets the instance's master key, automatically protecting all routes except GET /health. This means you will need a valid API key to access all other endpoints.

    MEILI_MASTER_KEYUsers can edit

    nullable|string|max:64

  • Configures the instance's environment. Value must be either production or development.

    MEILI_ENVUsers can edit

    required|string|in:development,production

  • Deactivates Meilisearch's built-in telemetry when provided.

    NO_ANALYTICSUsers can edit

    required|boolean

  • Sets the directory where Meilisearch will create dump files.

    MEILI_DUMP_DIRUsers can see

    required|string|max:64

  • Designates the location where database files will be created and retrieved.

    MEILI_DB_PATHUsers can see

    required|string|max:64

  • Defines how much detail should be present in Meilisearch's logs.

    MEILI_LOG_LEVELUsers can edit

    required|string|in:INFO,WARN,ERROR,TRACE

  • Designates the location of the configuration file to load at launch.

    MEILI_CONFIG_FILE_PATHUsers can see

    required|string

  • Sets the maximum number of threads Meilisearch can use during indexing

    MEILI_MAX_INDEXING_THREADSUsers can see

    required|integer

Wings

Stop command
^^C
Running when the console shows
Actix runtime found; starting in Actix runtime

Readme

Meilisearch

An open-source, lightning-fast, and hyper-relevant search engine that fits effortlessly into your workflow.

Server Ports

One port needs to be allocated to run Meilisearch.

Changes

  1. fix docker images path

    · Daniel Barton · 7d2b714

  2. Replace docker images

    · Daniel Barton · 3759ed6

  3. Add software

    · rowansc1 · 9b56a00

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 42 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/bin/bash

## get release info and download links
LATEST_JSON=$(curl --silent "https://api.github.com/repos/meilisearch/meilisearch/releases/latest")
RELEASES=$(curl --silent "https://api.github.com/repos/meilisearch/meilisearch/releases")
MATCH=$([[ "$(uname -m)" == "x86_64" ]] && echo "linux-amd64" || echo "linux-aarch64")

if [ -z "${VERSION}" ] || [ "${VERSION}" == "latest" ]; then
    DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH})
else
    VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION "${VERSION}" '.[] | select(.tag_name==$VERSION) | .tag_name')
    if [ "${VERSION}" == "${VERSION_CHECK}" ]; then
        DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION "${VERSION}" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})
    else
        echo -e "defaulting to latest release"
        DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)
    fi
fi

mkdir -p /mnt/server
cd /mnt/server

## Config file
FILE=/mnt/server/config.toml
if [ -f "$FILE" ]; then
    echo "Config file exits"
else 
    echo "Config does not exist. Making one"
    curl -sSL -o config.toml https://raw.githubusercontent.com/meilisearch/meilisearch/latest/config.toml
fi

curl -sSL -o meilisearch ${DOWNLOAD_URL}
chmod +x meilisearch

# Make the needed directory's 
mkdir -p /mnt/server/dumps
mkdir -p /mnt/server/data.ms

## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"