Add MeiliSearch Container
This commit is contained in:
parent
a1cda7f497
commit
ef527bbab6
@ -1225,7 +1225,19 @@ docker-compose restart elasticsearch
|
||||
```
|
||||
|
||||
|
||||
<br>
|
||||
<a name="Use-MeiliSearch"></a>
|
||||
## Use MeiliSearch
|
||||
|
||||
1 - Run the MeiliSearch Container (`meilisearch`) with the `docker-compose up` command. Example:
|
||||
|
||||
```bash
|
||||
docker-compose up -d meilisearch
|
||||
```
|
||||
|
||||
2 - Open your browser and visit the localhost on port **7700** at the following URL: `http://localhost:7700`
|
||||
|
||||
> The private API key is `masterkey`
|
||||
|
||||
|
||||
|
||||
|
@ -37,6 +37,8 @@ volumes:
|
||||
driver: ${VOLUMES_DRIVER}
|
||||
caddy:
|
||||
driver: ${VOLUMES_DRIVER}
|
||||
meilisearch:
|
||||
driver: ${VOLUMES_DRIVER}
|
||||
elasticsearch:
|
||||
driver: ${VOLUMES_DRIVER}
|
||||
mosquitto:
|
||||
@ -812,6 +814,17 @@ services:
|
||||
- frontend
|
||||
- backend
|
||||
|
||||
### MeiliSearch ##########################################
|
||||
meilisearch:
|
||||
image: getmeili/meilisearch:latest
|
||||
volumes:
|
||||
- ${DATA_PATH_HOST}/meilisearch:/var/lib/meilisearch
|
||||
ports:
|
||||
- "${MEILISEARCH_HOST_PORT}:7700"
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
|
||||
### ElasticSearch ########################################
|
||||
elasticsearch:
|
||||
build:
|
||||
|
@ -367,6 +367,11 @@ RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT=15671
|
||||
RABBITMQ_DEFAULT_USER=guest
|
||||
RABBITMQ_DEFAULT_PASS=guest
|
||||
|
||||
### MEILISEARCH ###########################################
|
||||
|
||||
MEILISEARCH_HOST_PORT=7700
|
||||
MEILISEARCH_KEY=masterkey
|
||||
|
||||
### ELASTICSEARCH #########################################
|
||||
|
||||
ELASTICSEARCH_HOST_HTTP_PORT=9200
|
||||
|
Loading…
Reference in New Issue
Block a user