From 19f7b248d88805e6595b671a7447b0ba5e1451fa Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Mon, 14 May 2018 17:51:15 +0200 Subject: adding redis unix connection --- config/default.yaml | 2 ++ config/production.yaml.example | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 88a2f2aab..9a9b5833f 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -23,6 +23,8 @@ database: username: 'peertube' password: 'peertube' +# You can also specify a 'socket' path to a unix socket but first need to +# comment out hostname and port redis: hostname: 'localhost' port: 6379 diff --git a/config/production.yaml.example b/config/production.yaml.example index ac5e2a739..a4c80b1f1 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -23,6 +23,8 @@ database: password: 'peertube' # Redis server for short time storage +# You can also specify a 'socket' path to a unix socket but first need to +# comment out hostname and port redis: hostname: 'localhost' port: 6379 @@ -124,4 +126,4 @@ services: # If true, a video player will be embedded in the Twitter feed on PeerTube video share # If false, we use an image link card that will redirect on your PeerTube instance # Test on https://cards-dev.twitter.com/validator to see if you are whitelisted - whitelisted: false \ No newline at end of file + whitelisted: false -- cgit v1.2.3