lin il y a 6 ans
Parent
commit
08ec2efac0
2 fichiers modifiés avec 11 ajouts et 5 suppressions
  1. 2 2
      common/config/main.php
  2. 9 3
      common/config/redis-local.php

+ 2 - 2
common/config/main.php

@@ -35,10 +35,10 @@ return [
 
         'redis' => [
             'class' => 'yii\redis\Connection',
-            'hostname' => '127.0.0.1',
+            'hostname'	=> '139.196.43.170',
             'port' => 6378,
             'database' => 0,
-            'password' => 'redis12078',
+            'password' => 'airent-redis~123',
         ],
 
 		'i18n' => [

+ 9 - 3
common/config/redis-local.php

@@ -2,8 +2,14 @@
 
 return [
     'class' => 'yii\redis\Connection',
-    'hostname'	=> '192.168.3.10',
-    'port' => 6379,
+
+//    'hostname'	=> '192.168.3.10',
+//    'port' => 6379,
+//    'database' => 0,
+//    'password' => 'redis12078',
+
+    'hostname'	=> '139.196.43.170',
+    'port' => 6378,
     'database' => 0,
-    'password' => 'redis12078',
+    'password' => 'airent-redis~123',
 ];