aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-15 15:58:10 +0100
committerChocobozzz <me@florianbigard.com>2021-12-16 10:08:55 +0100
commita9bfa85d2cdf13670aaced740da5b493fbeddfce (patch)
tree3781c9218d4cc7786b6589365c0efbed2151703d /config
parentc77fdc605b3ccc1ab6890f889d8200fbe9372949 (diff)
downloadPeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.tar.gz
PeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.tar.zst
PeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.zip
Add ability for admins to set default p2p policy
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml7
-rw-r--r--config/production.yaml.example5
2 files changed, 11 insertions, 1 deletions
diff --git a/config/default.yaml b/config/default.yaml
index fbe0dbbfb..421c19569 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -92,6 +92,11 @@ defaults:
92 # No licence by default 92 # No licence by default
93 licence: null 93 licence: null
94 94
95 p2p:
96 # Enable P2P by default
97 # Can be enabled/disabled by anonymous users and logged in users
98 enabled: true
99
95# From the project root directory 100# From the project root directory
96storage: 101storage:
97 tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... 102 tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing...
@@ -216,7 +221,7 @@ security:
216 enabled: true 221 enabled: true
217 222
218tracker: 223tracker:
219 # If you disable the tracker, you disable the P2P aspect of PeerTube 224 # If you disable the tracker, you disable the P2P on your PeerTube instance
220 enabled: true 225 enabled: true
221 # Only handle requests on your videos 226 # Only handle requests on your videos
222 # If you set this to false it means you have a public tracker 227 # If you set this to false it means you have a public tracker
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 6363a5179..13219fd5d 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -90,6 +90,11 @@ defaults:
90 # No licence by default 90 # No licence by default
91 licence: null 91 licence: null
92 92
93 p2p:
94 # Enable P2P by default
95 # Can be enabled/disabled by anonymous users and logged in users
96 enabled: true
97
93# From the project root directory 98# From the project root directory
94storage: 99storage:
95 tmp: '/var/www/peertube/storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... 100 tmp: '/var/www/peertube/storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing...