aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-05-14 17:51:15 +0200
committerRigel Kent <par@rigelk.eu>2018-07-14 15:00:56 +0200
commit19f7b248d88805e6595b671a7447b0ba5e1451fa (patch)
tree2b58f538411c8f1d3cffaeef0e63758a7b0b050f /config
parent4503cb2a894d9fb2b838cab0a9af8b3923e18a56 (diff)
downloadPeerTube-19f7b248d88805e6595b671a7447b0ba5e1451fa.tar.gz
PeerTube-19f7b248d88805e6595b671a7447b0ba5e1451fa.tar.zst
PeerTube-19f7b248d88805e6595b671a7447b0ba5e1451fa.zip
adding redis unix connection
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml2
-rw-r--r--config/production.yaml.example4
2 files changed, 5 insertions, 1 deletions
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:
23 username: 'peertube' 23 username: 'peertube'
24 password: 'peertube' 24 password: 'peertube'
25 25
26# You can also specify a 'socket' path to a unix socket but first need to
27# comment out hostname and port
26redis: 28redis:
27 hostname: 'localhost' 29 hostname: 'localhost'
28 port: 6379 30 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:
23 password: 'peertube' 23 password: 'peertube'
24 24
25# Redis server for short time storage 25# Redis server for short time storage
26# You can also specify a 'socket' path to a unix socket but first need to
27# comment out hostname and port
26redis: 28redis:
27 hostname: 'localhost' 29 hostname: 'localhost'
28 port: 6379 30 port: 6379
@@ -124,4 +126,4 @@ services:
124 # If true, a video player will be embedded in the Twitter feed on PeerTube video share 126 # If true, a video player will be embedded in the Twitter feed on PeerTube video share
125 # If false, we use an image link card that will redirect on your PeerTube instance 127 # If false, we use an image link card that will redirect on your PeerTube instance
126 # Test on https://cards-dev.twitter.com/validator to see if you are whitelisted 128 # Test on https://cards-dev.twitter.com/validator to see if you are whitelisted
127 whitelisted: false \ No newline at end of file 129 whitelisted: false