vendredi 15 juillet 2016

Configuration for Redis cluster

I'm running Laravel in a GlusterFS cluster and I want to setup a redis cluster too, but I'm not able to find out how should I configure Laravel.

This is the example config file:

'redis' => [
        'cluster' => false,
        'default' => [
            'host' => env('REDIS_HOST', 'localhost'),
            'password' => env('REDIS_PASSWORD', null),
            'port' => env('REDIS_PORT', 6379),
            'database' => 0,
        ],
    ],

How can I add multiple servers?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire