Can I use "redis" for redis hostname?
cacaosteve
TRIALOP
2 years ago
I tried deploying immich, but I'm getting an error with redis. Under redis in my project it says hostname "redis" should work.
Error: getaddrinfo ENOTFOUND redis
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {errno: -3007,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'redis'
}
ⓘ Deployment information is only viewable by project members and Railway employees.
2 Replies
2 years ago
> Can I use "redis" for redis hostname?
You can, if the redis client in use by immich supports looking up an IPv6 domain as the private network is IPv6 only.
9 months ago
Immich doesn't support IPv6 unfortunately. But I managed to get a redis-less template working: https://railway.com/deploy/immich-fixed