yukimochi/Activity-Relay

UNIX socket support for REDIS_URL

girlbossceo opened this issue · 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?

redis://localhost:6379