You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DOCUMENTATION/content/documentation/index.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -574,13 +574,15 @@ docker-compose up -d php-worker
574
574
docker-compose up -d redis
575
575
```
576
576
577
+
> To execute redis commands, enter the redis container first `docker-compose exec redis bash` then enter the `redis-cli`.
578
+
577
579
2 - Open your Laravel's `.env` file and set the `REDIS_HOST` to `redis`
578
580
579
581
```env
580
582
REDIS_HOST=redis
581
583
```
582
584
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:
584
586
585
587
```php
586
588
'redis' => [
@@ -820,19 +822,20 @@ docker-compose up -d elasticsearch
820
822
821
823
2 - Open your browser and visit the localhost on port **9200**: `http://localhost:9200`
822
824
825
+
> The default username is `user` and the default password is `changeme`.
823
826
824
827
### Install ElasticSearch Plugin
825
828
826
-
1 - Install the ElasticSearch plugin like [delete-by-query](https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugins-delete-by-query.html).
0 commit comments