feat: add melli support in docker

This commit is contained in:
Derrick Hammer 2023-12-24 22:26:04 -05:00
parent c0e4b4a9a9
commit b9b0cabdcf
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
import { MeiliSearch } from "meilisearch"; 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; export default meili;

View File

@ -11,3 +11,7 @@ services:
command: ["npm", "run", "bridge"] command: ["npm", "run", "bridge"]
volumes: volumes:
- ./data/app.db:/app/prisma/dev.db - ./data/app.db:/app/prisma/dev.db
melli:
image: getmeili/meilisearch:v1.5
volumes:
- ./melli_data:/meili_data