Deploy Meilisearch in a Digital Ocean droplet. Covers installation, server configuration, and securing your instance.
curl
:
curl
to download and run the Meilisearch command-line installer:
/usr/local/bin
:
/etc
:
meilisearch.toml
file so Meilisearch uses the directories you created earlier to store its data, replacing MASTER_KEY
with a 16-byte string:
/etc/systemd/system
:
systemctl
:
systemctl enable
, you’re telling the operating system you want it to run at every boot. systemctl start
then immediately starts the Meilisearch service.
Ensure everything is working by checking the service status:
A record
to point to your DigitalOcean droplet’s IP address. Consult the DigitalOcean DNS documentation for more information.
Use certbot to configure enable HTTPS in your server.
First, install the required packages on your system:
2: Redirect
.
Certbot will finish configuring Nginx. Once it is done, all traffic to your server will use HTTPS and you will have finished securing your Meilisearch instance.
Your security certificate must be renewed every 90 days. Certbot schedules the renewal automatically. Run a test to verify this process is in place: