Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add explicit redis socket config

Chocobozzzbe7886287fa7
diff --git a/config/default.yaml b/config/default.yaml
index bc369cdccd..222a6b5a64 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -95,11 +95,12 @@ database:
max: 5
# Redis server for short time storage
-# You can also specify a 'socket' path to a unix socket but first need to
-# set 'hostname' and 'port' to null
redis:
+ # You can also specify a 'socket' path to a unix socket but first need to
+ # set 'hostname' and 'port' to null
hostname: '127.0.0.1'
port: 6379
+ socket: null
auth: null
db: 0
enable_tls: false
diff --git a/config/production.yaml.example b/config/production.yaml.example
index bd144ce3e9..a212401980 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -93,11 +93,12 @@ database:
max: 5
# Redis server for short time storage
-# You can also specify a 'socket' path to a unix socket but first need to
-# set 'hostname' and 'port' to null
redis:
+ # You can also specify a 'socket' path to a unix socket but first need to
+ # set 'hostname' and 'port' to null
hostname: '127.0.0.1'
port: 6379
+ socket: null
auth: null
db: 0
enable_tls: false
diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yaml
index 098d4fe914..15203bf07d 100644
--- a/support/docker/production/config/custom-environment-variables.yaml
+++ b/support/docker/production/config/custom-environment-variables.yaml
@@ -125,6 +125,7 @@ redis:
port:
__name: PEERTUBE_REDIS_PORT
__format: json
+ socket: PEERTUBE_REDIS_SOCKET
auth: PEERTUBE_REDIS_AUTH
db:
__name: PEERTUBE_REDIS_DB