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

merge-requests/757/head
Eliot Berriot 2019-04-25 10:04:09 +02:00
rodzic 23caaded64
commit a389dfcdf0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
2 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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?