aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml11
-rw-r--r--config/production.yaml.example10
-rw-r--r--config/test.yaml6
3 files changed, 23 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml
index a09d20b9d..f9b6c50a3 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -198,6 +198,13 @@ federation:
198 # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes 198 # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes
199 cleanup_remote_interactions: false 199 cleanup_remote_interactions: false
200 200
201peertube:
202 check_latest_version:
203 # Check and notify admins of new PeerTube versions
204 enabled: true
205 # You can use a custom URL if your want, that respect the format behind https://joinpeertube.org/api/v1/versions.json
206 url: 'https://joinpeertube.org/api/v1/versions.json'
207
201cache: 208cache:
202 previews: 209 previews:
203 size: 500 # Max number of previews you want to cache 210 size: 500 # Max number of previews you want to cache
@@ -265,7 +272,7 @@ transcoding:
265 # If you also enabled the hls format, it will multiply videos storage by 2 272 # If you also enabled the hls format, it will multiply videos storage by 2
266 # If disabled, breaks federation with PeerTube instances < 2.1 273 # If disabled, breaks federation with PeerTube instances < 2.1
267 webtorrent: 274 webtorrent:
268 enabled: true 275 enabled: false
269 276
270 # /!\ Requires ffmpeg >= 4.1 277 # /!\ Requires ffmpeg >= 4.1
271 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: 278 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent:
@@ -274,7 +281,7 @@ transcoding:
274 # * More stable playback (less bugs/infinite loading) 281 # * More stable playback (less bugs/infinite loading)
275 # If you also enabled the webtorrent format, it will multiply videos storage by 2 282 # If you also enabled the webtorrent format, it will multiply videos storage by 2
276 hls: 283 hls:
277 enabled: false 284 enabled: true
278 285
279live: 286live:
280 enabled: false 287 enabled: false
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 31c0e6b96..f2e75af32 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -196,6 +196,12 @@ federation:
196 # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes 196 # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes
197 cleanup_remote_interactions: false 197 cleanup_remote_interactions: false
198 198
199peertube:
200 check_latest_version:
201 # Check and notify admins of new PeerTube versions
202 enabled: true
203 # You can use a custom URL if your want, that respect the format behind https://joinpeertube.org/api/v1/versions.json
204 url: 'https://joinpeertube.org/api/v1/versions.json'
199 205
200############################################################################### 206###############################################################################
201# 207#
@@ -276,7 +282,7 @@ transcoding:
276 # If you also enabled the hls format, it will multiply videos storage by 2 282 # If you also enabled the hls format, it will multiply videos storage by 2
277 # If disabled, breaks federation with PeerTube instances < 2.1 283 # If disabled, breaks federation with PeerTube instances < 2.1
278 webtorrent: 284 webtorrent:
279 enabled: true 285 enabled: false
280 286
281 # /!\ Requires ffmpeg >= 4.1 287 # /!\ Requires ffmpeg >= 4.1
282 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: 288 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent:
@@ -285,7 +291,7 @@ transcoding:
285 # * More stable playback (less bugs/infinite loading) 291 # * More stable playback (less bugs/infinite loading)
286 # If you also enabled the webtorrent format, it will multiply videos storage by 2 292 # If you also enabled the webtorrent format, it will multiply videos storage by 2
287 hls: 293 hls:
288 enabled: false 294 enabled: true
289 295
290live: 296live:
291 enabled: false 297 enabled: false
diff --git a/config/test.yaml b/config/test.yaml
index 33c11afc3..9a522a983 100644
--- a/config/test.yaml
+++ b/config/test.yaml
@@ -38,6 +38,10 @@ log:
38contact_form: 38contact_form:
39 enabled: true 39 enabled: true
40 40
41peertube:
42 check_latest_version:
43 enabled: false
44
41redundancy: 45redundancy:
42 videos: 46 videos:
43 check_interval: '1 minute' 47 check_interval: '1 minute'
@@ -83,6 +87,8 @@ transcoding:
83 1080p: true 87 1080p: true
84 1440p: true 88 1440p: true
85 2160p: true 89 2160p: true
90 webtorrent:
91 enabled: true
86 hls: 92 hls:
87 enabled: true 93 enabled: true
88 94