Skip to content

Instantly share code, notes, and snippets.

@josecanhelp
Last active November 25, 2024 13:52
Show Gist options
  • Save josecanhelp/126d627ef125538943f33253d16fc882 to your computer and use it in GitHub Desktop.
Save josecanhelp/126d627ef125538943f33253d16fc882 to your computer and use it in GitHub Desktop.
Install MeiliSearch on Forge servers

Although MeiliSearch offers steps to install via apt, there are some dependency libraries that are not installable on the server architecture we have availble on our Tighten Forge servers. However, the servers can run the program just fine with the binary. Here are the steps I took to make it work.

Download the stable release

curl -L https://install.meilisearch.com | sh

Change the ownership and modify permissions

chmod 755 meilisearch chown root:root meilisearch

Move the binary to a system-wide available path

sudo mv meilisearch /usr/bin/

Run the binary and monitor it for long runtimes within Forge

In the Forge Dashboard, click on "Daemons" under "Server Details". Fill out the following for a new daemon:

Command: meilisearch --master-key=SOME_MASTER_KEY --env=production --http-addr 0.0.0.0:7700 --db-path ./home/forge/meilifiles User: forge Directory: leave blank Processes: 1

@vgavrilovikj
Copy link

how can I check if it runs properly? I am trying to access my domain:7700 but it does not give anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment