commit
bb759d7b94
|
@ -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}
|
driver: ${VOLUMES_DRIVER}
|
||||||
caddy:
|
caddy:
|
||||||
driver: ${VOLUMES_DRIVER}
|
driver: ${VOLUMES_DRIVER}
|
||||||
|
meilisearch:
|
||||||
|
driver: ${VOLUMES_DRIVER}
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
driver: ${VOLUMES_DRIVER}
|
driver: ${VOLUMES_DRIVER}
|
||||||
mosquitto:
|
mosquitto:
|
||||||
|
@ -812,6 +814,17 @@ services:
|
||||||
- frontend
|
- frontend
|
||||||
- backend
|
- 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 ########################################
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -367,6 +367,11 @@ RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT=15671
|
||||||
RABBITMQ_DEFAULT_USER=guest
|
RABBITMQ_DEFAULT_USER=guest
|
||||||
RABBITMQ_DEFAULT_PASS=guest
|
RABBITMQ_DEFAULT_PASS=guest
|
||||||
|
|
||||||
|
### MEILISEARCH ###########################################
|
||||||
|
|
||||||
|
MEILISEARCH_HOST_PORT=7700
|
||||||
|
MEILISEARCH_KEY=masterkey
|
||||||
|
|
||||||
### ELASTICSEARCH #########################################
|
### ELASTICSEARCH #########################################
|
||||||
|
|
||||||
ELASTICSEARCH_HOST_HTTP_PORT=9200
|
ELASTICSEARCH_HOST_HTTP_PORT=9200
|
||||||
|
|
Loading…
Reference in New Issue