By default REDIS_URL is unset.
If no configuration is specified explicitely (either through passing
arguments or by setting the environment variable), redis-rb will use
localhost and port 6379.
If that's where your redis server is running, you don't need to set it
explicitely.
On Fri, Dec 02, 2016 at 04:21:25AM -0800, jdeel wrote:
> I am new to Redis and I want to install it in a Ubuntu machine for Sidekiq.
> In the redis-rb GitHub official page <
https://github.com/redis/redis-rb> it
> is written that Redis with a default configuration is listening on localhost,
> port 6379.
> Shall I assume that the REDIS_URL variable is by default already set to
> redis://localhost:6379 ?
> Or, if I wish to use the REDIS_URL variable, am I supposed to do set it
> explicitly?
>
> $ export REDIS_URL = redis://localhost:6379
>
> I can only guess that setting the REDIS_URL variable has only sense if it
> is necessary to change the default configuration.
> However I could not find documentation about it and the redis.conf files in
> the documentation do not contain any entry for REDIS_URL.
>
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
redis-db+u...@googlegroups.com.
> To post to this group, send email to
redi...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/redis-db.
> For more options, visit
https://groups.google.com/d/optout.