diff --git a/changes/changelog.d/770.doc b/changes/changelog.d/770.doc new file mode 100644 index 0000000000000000000000000000000000000000..4f419f20906586ac00af7da0916647e7c8854c0e --- /dev/null +++ b/changes/changelog.d/770.doc @@ -0,0 +1 @@ +Document how to use Redis over unix sockets (#770) diff --git a/deploy/env.prod.sample b/deploy/env.prod.sample index 1f09046ce84a3992990184865248134affb4e896..9fd1720494f7c891c55bdcb0965651f1df2453b0 100644 --- a/deploy/env.prod.sample +++ b/deploy/env.prod.sample @@ -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?