aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2023-05-10 09:52:50 +0200
committerGitHub <noreply@github.com>2023-05-10 09:52:50 +0200
commit674f8ddd415ff4faf100ff35cf2511f84f60fea9 (patch)
treeab4f8b6b42172f5cdafc87c50b6202ea547429ae /config
parent5170f492b95dc81b75230312411c5fdb0019eed2 (diff)
downloadPeerTube-674f8ddd415ff4faf100ff35cf2511f84f60fea9.tar.gz
PeerTube-674f8ddd415ff4faf100ff35cf2511f84f60fea9.tar.zst
PeerTube-674f8ddd415ff4faf100ff35cf2511f84f60fea9.zip
feat(server): add redis sentinel support (#5593)
* feat(server): add redis sentinel support closes #5141 * Styling --------- Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml9
-rw-r--r--config/production.yaml.example9
2 files changed, 16 insertions, 2 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 14bb8d060..5d0eab4f5 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -65,8 +65,15 @@ database:
65redis: 65redis:
66 hostname: 'localhost' 66 hostname: 'localhost'
67 port: 6379 67 port: 6379
68 auth: null 68 auth: null # Used by both standalone and sentinel
69 db: 0 69 db: 0
70 sentinel:
71 enabled: false
72 enable_tls: false
73 master_name: ''
74 sentinels:
75 - hostname: ''
76 port: 26379
70 77
71# SMTP server to send emails 78# SMTP server to send emails
72smtp: 79smtp:
diff --git a/config/production.yaml.example b/config/production.yaml.example
index db9c18cb8..5514f1af6 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -63,8 +63,15 @@ database:
63redis: 63redis:
64 hostname: 'localhost' 64 hostname: 'localhost'
65 port: 6379 65 port: 6379
66 auth: null 66 auth: null # Used by both standalone and sentinel
67 db: 0 67 db: 0
68 sentinel:
69 enabled: false
70 enable_tls: false
71 master_name: ''
72 sentinels:
73 - hostname: ''
74 port: 26379
68 75
69# SMTP server to send emails 76# SMTP server to send emails
70smtp: 77smtp: