luceos
This code solved my problem
return [
(new Blomstra\Redis\Extend\Redis([
'host' => '127.0.0.1',
'password' => null,
'port' => 6379,
'database' => 1,
]))->disable(['cache', 'queue'])
];
I didn't understand why Artisa wasn't working for me.
Docker: https://github.com/crazy-max/docker-flarum