Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Override 127.0.0.1 host #72

Open
Open
@valentin-harrang

Description

@valentin-harrang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions