diff options
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index 588d6a3a5..2e0d029ce 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -206,8 +206,8 @@ security: | |||
206 | tracker: | 206 | tracker: |
207 | # If you disable the tracker, you disable the P2P aspect of PeerTube | 207 | # If you disable the tracker, you disable the P2P aspect of PeerTube |
208 | enabled: true | 208 | enabled: true |
209 | # Only handle requests on your videos. | 209 | # Only handle requests on your videos |
210 | # If you set this to false it means you have a public tracker. | 210 | # If you set this to false it means you have a public tracker |
211 | # Then, it is possible that clients overload your instance with external torrents | 211 | # Then, it is possible that clients overload your instance with external torrents |
212 | private: true | 212 | private: true |
213 | # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers) | 213 | # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers) |
@@ -266,10 +266,10 @@ webadmin: | |||
266 | # From this point, all the following keys can be overridden by the web interface | 266 | # From this point, all the following keys can be overridden by the web interface |
267 | # (local-production.json file). If you need to change some values, prefer to | 267 | # (local-production.json file). If you need to change some values, prefer to |
268 | # use the web interface because the configuration will be automatically | 268 | # use the web interface because the configuration will be automatically |
269 | # reloaded without any need to restart PeerTube. | 269 | # reloaded without any need to restart PeerTube |
270 | # | 270 | # |
271 | # /!\ If you already have a local-production.json file, the modification of the | 271 | # /!\ If you already have a local-production.json file, the modification of the |
272 | # following keys will have no effect /!\. | 272 | # following keys will have no effect /!\ |
273 | # | 273 | # |
274 | ############################################################################### | 274 | ############################################################################### |
275 | 275 | ||
@@ -300,13 +300,14 @@ signup: | |||
300 | blacklist: [] | 300 | blacklist: [] |
301 | 301 | ||
302 | user: | 302 | user: |
303 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). | 303 | # Default value of maximum video bytes the user can upload (does not take into account transcoded files) |
304 | # Byte format is supported ("1GB" etc) | ||
304 | # -1 == unlimited | 305 | # -1 == unlimited |
305 | video_quota: -1 | 306 | video_quota: -1 |
306 | video_quota_daily: -1 | 307 | video_quota_daily: -1 |
307 | 308 | ||
308 | # If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag | 309 | # If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag |
309 | # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions. | 310 | # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions |
310 | # Please, do not disable transcoding since many uploaded videos will not work | 311 | # Please, do not disable transcoding since many uploaded videos will not work |
311 | transcoding: | 312 | transcoding: |
312 | enabled: true | 313 | enabled: true |
@@ -405,6 +406,18 @@ import: | |||
405 | http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html | 406 | http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html |
406 | enabled: false | 407 | enabled: false |
407 | 408 | ||
409 | youtube_dl_release: | ||
410 | # Direct download URL to youtube-dl binary | ||
411 | # Github releases API is also supported | ||
412 | # Examples: | ||
413 | # * https://api.github.com/repos/ytdl-org/youtube-dl/releases | ||
414 | # * https://api.github.com/repos/yt-dlp/yt-dlp/releases | ||
415 | url: 'https://yt-dl.org/downloads/latest/youtube-dl' | ||
416 | |||
417 | # youtube-dl binary name | ||
418 | # yt-dlp is also supported | ||
419 | name: 'youtube-dl' | ||
420 | |||
408 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl | 421 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl |
409 | force_ipv4: false | 422 | force_ipv4: false |
410 | 423 | ||
@@ -492,7 +505,7 @@ instance: | |||
492 | robots: | | 505 | robots: | |
493 | User-agent: * | 506 | User-agent: * |
494 | Disallow: | 507 | Disallow: |
495 | # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. | 508 | # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string |
496 | securitytxt: | 509 | securitytxt: |
497 | '# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:' | 510 | '# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:' |
498 | 511 | ||