Skip to content

Commit 34ef36c

Browse files
committed
doc updates
1 parent 7138d7a commit 34ef36c

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

  • DOCUMENTATION/content/documentation

DOCUMENTATION/content/documentation/index.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -574,13 +574,15 @@ docker-compose up -d php-worker
574574
docker-compose up -d redis
575575
```
576576

577+
> To execute redis commands, enter the redis container first `docker-compose exec redis bash` then enter the `redis-cli`.
578+
577579
2 - Open your Laravel's `.env` file and set the `REDIS_HOST` to `redis`
578580

579581
```env
580582
REDIS_HOST=redis
581583
```
582584

583-
If you don't find the `REDIS_HOST` variable in your `.env` file. Go to the database configuration file `config/database.php` and replace the default `127.0.0.1` IP with `redis` for Redis like this:
585+
If you're using Laravel, and you don't find the `REDIS_HOST` variable in your `.env` file. Go to the database configuration file `config/database.php` and replace the default `127.0.0.1` IP with `redis` for Redis like this:
584586

585587
```php
586588
'redis' => [
@@ -820,19 +822,20 @@ docker-compose up -d elasticsearch
820822

821823
2 - Open your browser and visit the localhost on port **9200**: `http://localhost:9200`
822824

825+
> The default username is `user` and the default password is `changeme`.
823826
824827
### Install ElasticSearch Plugin
825828

826-
1 - Install the ElasticSearch plugin like [delete-by-query](https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugins-delete-by-query.html).
829+
1 - Install an ElasticSearch plugin.
827830

828831
```bash
829-
docker exec {container-name} /usr/share/elasticsearch/bin/plugin install delete-by-query
832+
docker-compose exec elasticsearch /usr/share/elasticsearch/bin/plugin install {plugin-name}
830833
```
831834

832835
2 - Restart elasticsearch container
833836

834837
```bash
835-
docker restart {container-name}
838+
docker-compose restart elasticsearch
836839
```
837840

838841

0 commit comments

Comments
 (0)