diff --git a/app/lib/search.ts b/app/lib/search.ts index 1d2ca4d..78b3fc7 100644 --- a/app/lib/search.ts +++ b/app/lib/search.ts @@ -1,5 +1,5 @@ import { MeiliSearch } from "meilisearch"; -const meili = new MeiliSearch({ host: "http://127.0.0.1:7700" }); +const meili = new MeiliSearch({ host: "http://melli:7700" }); export default meili; diff --git a/docker-compose.yml b/docker-compose.yml index 5a30c79..325ab18 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,3 +11,7 @@ services: command: ["npm", "run", "bridge"] volumes: - ./data/app.db:/app/prisma/dev.db + melli: + image: getmeili/meilisearch:v1.5 + volumes: + - ./melli_data:/meili_data