Fix #770: Document how to use Redis over unix sockets
This commit is contained in:
parent
23caaded64
commit
a389dfcdf0
|
@ -0,0 +1 @@
|
||||||
|
Document how to use Redis over unix sockets (#770)
|
|
@ -75,7 +75,15 @@ REVERSE_PROXY_TYPE=nginx
|
||||||
# CACHE_URL=redis://:password@localhost:6379/0
|
# CACHE_URL=redis://:password@localhost:6379/0
|
||||||
# (the extra semicolon is important)
|
# (the extra semicolon is important)
|
||||||
# Use the next one if you followed Debian installation guide
|
# Use the next one if you followed Debian installation guide
|
||||||
|
#
|
||||||
# CACHE_URL=redis://127.0.0.1:6379/0
|
# CACHE_URL=redis://127.0.0.1:6379/0
|
||||||
|
#
|
||||||
|
# If you want to use Redis over unix sockets, you'll actually need two variables:
|
||||||
|
# For the cache part:
|
||||||
|
# CACHE_URL=redis:///run/redis/redis.sock?db=0
|
||||||
|
# For the Celery/asynchronous tasks part:
|
||||||
|
# CELERY_BROKER_URL=redis+socket:///run/redis/redis.sock?virtual_host=0
|
||||||
|
|
||||||
|
|
||||||
# Where media files (such as album covers or audio tracks) should be stored
|
# Where media files (such as album covers or audio tracks) should be stored
|
||||||
# on your system?
|
# on your system?
|
||||||
|
|
Loading…
Reference in New Issue