strapi-middleware-cache
strapi-middleware-cache copied to clipboard
Override 127.0.0.1 host
Hi,
Is it possible to override the hostname of the strapi-middleware-cache plugin? I am using Redis container in my docker-compose.yml and by default Strapi calls host 127.0.0.1 instead of my container name. I would like replace 127.0.0.1 by redis
Because I get this error:
error [cache] redis connection failed {"errno":-111,"code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":6379}
I tried to add REDIS_HOST env variable but same problem
Hi @valentin-harrang, could you share your config ?