From b335364591cba9465f72abc1348f68c599d4c031 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Fri, 8 Apr 2016 11:47:35 +0300 Subject: [PATCH] fix the documentation --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f47350b0..dc1d9f5d 100644 --- a/README.md +++ b/README.md @@ -192,19 +192,19 @@ docker-compose rm -f #### Use Redis in Laravel -Open your Laravel's `.env` file and set the `REDIS_HOST` to `laravel.dev` instead of the default `127.0.0.1`. +Open your Laravel's `.env` file and set the `REDIS_HOST` to your `Docker-IP` instead of the default `127.0.0.1`. ```env -REDIS_HOST=laravel.dev +REDIS_HOST=xxx.xxx.xxx.xxx ``` -If you don't find the `REDIS_HOST` variable in your `.env` file. Go to the database config file `config/database.php` and replace the `127.0.0.1` with `laravel.dev` for Redis like this: +If you don't find the `REDIS_HOST` variable in your `.env` file. Go to the database config file `config/database.php` and replace the `127.0.0.1` with your `Docker-IP` for Redis like this: ```php 'redis' => [ 'cluster' => false, 'default' => [ - 'host' => 'laravel.dev', + 'host' => 'xxx.xxx.xxx.xxx', 'port' => 6379, 'database' => 0, ],