Within my API docker container, I can ping and connect to the networked redis container by its containername redis_cache I set in the docker compose. I ping like this and the hostname is resolveable from my API container as such: ping redis_cache
However:
const queue = kue.createQueue({redis: 'redis://redis_cache:6379'});
does not work.
Redis connection to redis_cache:6379 failed - getaddrinfo ENOTFOUND redis_cache redis_cache:6379
Anyone have any ideas what i can attempt next to get this working?
Within my API docker container, I can ping and connect to the networked redis container by its containername redis_cache I set in the docker compose. I ping like this and the hostname is resolveable from my API container as such:
ping redis_cache
However:
const queue = kue.createQueue({redis: 'redis://redis_cache:6379'});
does not work.Redis connection to redis_cache:6379 failed - getaddrinfo ENOTFOUND redis_cache redis_cache:6379
Anyone have any ideas what i can attempt next to get this working?