Merge branch '770' into 'develop'

Fix #770: Document how to use Redis over unix sockets

Closes #770

See merge request funkwhale/funkwhale!738
This commit is contained in:
Eliot Berriot 2019-04-30 14:20:36 +02:00
commit 361fcb8c8d
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
Document how to use Redis over unix sockets (#770)

View File

@ -75,7 +75,15 @@ REVERSE_PROXY_TYPE=nginx
# CACHE_URL=redis://:password@localhost:6379/0
# (the extra semicolon is important)
# Use the next one if you followed Debian installation guide
#
# 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
# on your system?