Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 675bf89

Browse files
committed
.
1 parent 99a30de commit 675bf89

File tree

8 files changed

+50
-0
lines changed

8 files changed

+50
-0
lines changed
152 KB
Loading
189 KB
Loading
260 KB
Loading
21.1 KB
Loading
247 KB
Loading
315 KB
Loading
203 KB
Loading
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Meilisearch
2+
3+
## Deploy a Meilisearch instance on Disco
4+
5+
Start by forking the [Meilisearch Disco Sample repo](https://github.com/letsdiscodev/sample-meilisearch) on GitHub.
6+
7+
Login to the [Disco web interface](https://dashboard.disco.cloud/) to see your list of instances. If you don't have an instance yet, follow the instructions to create one.
8+
9+
![List of Disco instances](./img/meilisearch/01.instances.png)
10+
11+
Click your instance. Then, click "New project" in the upper-right corner.
12+
13+
![New project button](./img/meilisearch/02.new-project-button.png)
14+
15+
Next, fill out the form:
16+
17+
- Give this project a name such as `meilisearch`
18+
- Set the domain name for your Meilisearch instance. This domain should be pointing to your Disco instance (e.g. `meilisearch.example.com`)
19+
- Select the GitHub repository you forked earlier. If you need to give Disco access to this repository, click the "Manage your GitHub repositories" link.
20+
- Finally, click "Add New Variable". The name of the variable should be `MEILI_MASTER_KEY` and the value should be a strong key to secure your Meilisearch instance.
21+
22+
![New project form](./img/meilisearch/03.new-project-form-fields.png)
23+
24+
Click "Add Project" to create the project.
25+
26+
![New project form](./img/meilisearch/04.new-project-form-submit.png)
27+
28+
Your Meilisearch instance will then be deployed.
29+
30+
![Deployment](./img/meilisearch/05.deployment.png)
31+
32+
Navigate to your domain name in your browser. You should see the Meilisearch welcome page.
33+
34+
![Meilisearch UI](./img/meilisearch/06.meilisearch-ui.png)
35+
36+
## Next Steps
37+
38+
Fetch the API keys for your Meilisearch instance by making a `curl` call to your instance:
39+
40+
```bash
41+
curl \
42+
-X GET 'https://MEILISEARCH_DOMAIN/keys' \
43+
-H 'Authorization: Bearer MASTER_KEY'
44+
```
45+
46+
Replace `MEILISEARCH_DOMAIN` with your domain name and `MASTER_KEY` with the key you set when creating the project.
47+
48+
You should get back a list of your Meilisearch instance API keys. Using these, you can create and manage your indexes, documents, and settings.
49+
50+
![API Keys](./img/meilisearch/07.api-keys.png)

0 commit comments

Comments
 (0)