Activity-Relay icon indicating copy to clipboard operation
Activity-Relay copied to clipboard

UNIX socket support for REDIS_URL

Open x86pup opened this issue 2 years ago • 1 comments

Hi, I'd like to use a UNIX socket in my REDIS_URL, mainly for an additional security benefit but all variations of using a direct path in the REDIS_URL yaml key do not work.

Sep 06 00:56:53 plus.st relay[847477]: FATA[0000] REDIS_URL: invalid redis URL path: /run/redis/redis.sock

I have tried:

  • REDIS_URL: redis:///run/redis/redis.sock
  • REDIS_URL: redis:///run/redis/redis.sock:6379
  • REDIS_URL: unix:///run/redis/redis.sock
  • REDIS_URL: redis://@/run/redis/redis.sock

And none of them work. Is there something wrong I'm doing? If not, can UNIX support be added?

x86pup avatar Sep 06 '23 01:09 x86pup

redis://localhost:6379

jkjoy avatar Nov 17 '23 11:11 jkjoy