aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml16
-rw-r--r--config/production.yaml.example15
-rw-r--r--config/test.yaml6
3 files changed, 33 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml
index a09d20b9d..281cc0577 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -153,6 +153,11 @@ csp:
153 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! 153 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk!
154 report_uri: 154 report_uri:
155 155
156security:
157 # Set the X-Frame-Options header to help to mitigate clickjacking attacks
158 frameguard:
159 enabled: true
160
156tracker: 161tracker:
157 # If you disable the tracker, you disable the P2P aspect of PeerTube 162 # If you disable the tracker, you disable the P2P aspect of PeerTube
158 enabled: true 163 enabled: true
@@ -198,6 +203,13 @@ federation:
198 # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes 203 # 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 204 cleanup_remote_interactions: false
200 205
206peertube:
207 check_latest_version:
208 # Check and notify admins of new PeerTube versions
209 enabled: true
210 # You can use a custom URL if your want, that respect the format behind https://joinpeertube.org/api/v1/versions.json
211 url: 'https://joinpeertube.org/api/v1/versions.json'
212
201cache: 213cache:
202 previews: 214 previews:
203 size: 500 # Max number of previews you want to cache 215 size: 500 # Max number of previews you want to cache
@@ -265,7 +277,7 @@ transcoding:
265 # If you also enabled the hls format, it will multiply videos storage by 2 277 # If you also enabled the hls format, it will multiply videos storage by 2
266 # If disabled, breaks federation with PeerTube instances < 2.1 278 # If disabled, breaks federation with PeerTube instances < 2.1
267 webtorrent: 279 webtorrent:
268 enabled: true 280 enabled: false
269 281
270 # /!\ Requires ffmpeg >= 4.1 282 # /!\ Requires ffmpeg >= 4.1
271 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: 283 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent:
@@ -274,7 +286,7 @@ transcoding:
274 # * More stable playback (less bugs/infinite loading) 286 # * More stable playback (less bugs/infinite loading)
275 # If you also enabled the webtorrent format, it will multiply videos storage by 2 287 # If you also enabled the webtorrent format, it will multiply videos storage by 2
276 hls: 288 hls:
277 enabled: false 289 enabled: true
278 290
279live: 291live:
280 enabled: false 292 enabled: false
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 31c0e6b96..fed6b45ca 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -151,6 +151,11 @@ csp:
151 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! 151 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk!
152 report_uri: 152 report_uri:
153 153
154security:
155 # Set the X-Frame-Options header to help to mitigate clickjacking attacks
156 frameguard:
157 enabled: true
158
154tracker: 159tracker:
155 # If you disable the tracker, you disable the P2P aspect of PeerTube 160 # If you disable the tracker, you disable the P2P aspect of PeerTube
156 enabled: true 161 enabled: true
@@ -196,6 +201,12 @@ federation:
196 # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes 201 # 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 202 cleanup_remote_interactions: false
198 203
204peertube:
205 check_latest_version:
206 # Check and notify admins of new PeerTube versions
207 enabled: true
208 # You can use a custom URL if your want, that respect the format behind https://joinpeertube.org/api/v1/versions.json
209 url: 'https://joinpeertube.org/api/v1/versions.json'
199 210
200############################################################################### 211###############################################################################
201# 212#
@@ -276,7 +287,7 @@ transcoding:
276 # If you also enabled the hls format, it will multiply videos storage by 2 287 # If you also enabled the hls format, it will multiply videos storage by 2
277 # If disabled, breaks federation with PeerTube instances < 2.1 288 # If disabled, breaks federation with PeerTube instances < 2.1
278 webtorrent: 289 webtorrent:
279 enabled: true 290 enabled: false
280 291
281 # /!\ Requires ffmpeg >= 4.1 292 # /!\ Requires ffmpeg >= 4.1
282 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: 293 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent:
@@ -285,7 +296,7 @@ transcoding:
285 # * More stable playback (less bugs/infinite loading) 296 # * More stable playback (less bugs/infinite loading)
286 # If you also enabled the webtorrent format, it will multiply videos storage by 2 297 # If you also enabled the webtorrent format, it will multiply videos storage by 2
287 hls: 298 hls:
288 enabled: false 299 enabled: true
289 300
290live: 301live:
291 enabled: false 302 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