feat: add melli support in docker
This commit is contained in:
parent
c0e4b4a9a9
commit
b9b0cabdcf
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue