diff options
Diffstat (limited to 'config/default.yaml')
-rw-r--r-- | config/default.yaml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/config/default.yaml b/config/default.yaml index a8d070cc8..c46d0e883 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -34,7 +34,7 @@ rates_limit: | |||
34 | trust_proxy: | 34 | trust_proxy: |
35 | - 'loopback' | 35 | - 'loopback' |
36 | 36 | ||
37 | # Your database name will be database.name OR "peertube"+database.suffix | 37 | # Your database name will be database.name OR 'peertube'+database.suffix |
38 | database: | 38 | database: |
39 | hostname: 'localhost' | 39 | hostname: 'localhost' |
40 | port: 5432 | 40 | port: 5432 |
@@ -71,9 +71,9 @@ smtp: | |||
71 | 71 | ||
72 | email: | 72 | email: |
73 | body: | 73 | body: |
74 | signature: "PeerTube" | 74 | signature: 'PeerTube' |
75 | subject: | 75 | subject: |
76 | prefix: "[PeerTube]" | 76 | prefix: '[PeerTube]' |
77 | 77 | ||
78 | # PeerTube client/interface configuration | 78 | # PeerTube client/interface configuration |
79 | client: | 79 | client: |
@@ -145,9 +145,9 @@ log: | |||
145 | level: 'info' # 'debug' | 'info' | 'warn' | 'error' | 145 | level: 'info' # 'debug' | 'info' | 'warn' | 'error' |
146 | rotation: | 146 | rotation: |
147 | enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate | 147 | enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate |
148 | maxFileSize: 12MB | 148 | max_file_size: 12MB |
149 | maxFiles: 20 | 149 | max_files: 20 |
150 | anonymizeIP: false | 150 | anonymize_ip: false |
151 | log_ping_requests: true | 151 | log_ping_requests: true |
152 | prettify_sql: false | 152 | prettify_sql: false |
153 | 153 | ||
@@ -294,7 +294,7 @@ user: | |||
294 | video_quota: -1 | 294 | video_quota: -1 |
295 | video_quota_daily: -1 | 295 | video_quota_daily: -1 |
296 | 296 | ||
297 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag | 297 | # If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag |
298 | # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions. | 298 | # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions. |
299 | # Please, do not disable transcoding since many uploaded videos will not work | 299 | # Please, do not disable transcoding since many uploaded videos will not work |
300 | transcoding: | 300 | transcoding: |
@@ -400,7 +400,7 @@ import: | |||
400 | # You can use an HTTP/HTTPS/SOCKS proxy with youtube-dl | 400 | # You can use an HTTP/HTTPS/SOCKS proxy with youtube-dl |
401 | proxy: | 401 | proxy: |
402 | enabled: false | 402 | enabled: false |
403 | url: "" | 403 | url: '' |
404 | torrent: # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file) | 404 | torrent: # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file) |
405 | enabled: false | 405 | enabled: false |
406 | 406 | ||
@@ -434,7 +434,7 @@ instance: | |||
434 | business_model: '' # Supports Markdown | 434 | business_model: '' # Supports Markdown |
435 | 435 | ||
436 | # If you want to explain on what type of hardware your PeerTube instance runs | 436 | # If you want to explain on what type of hardware your PeerTube instance runs |
437 | # Example: "2 vCore, 2GB RAM..." | 437 | # Example: '2 vCore, 2GB RAM...' |
438 | hardware_information: '' # Supports Markdown | 438 | hardware_information: '' # Supports Markdown |
439 | 439 | ||
440 | # What are the main languages of your instance? To interact with your users for example | 440 | # What are the main languages of your instance? To interact with your users for example |
@@ -474,20 +474,20 @@ instance: | |||
474 | # Enabling it will allow other administrators to know that you are mainly federating sensitive content | 474 | # Enabling it will allow other administrators to know that you are mainly federating sensitive content |
475 | # Moreover, the NSFW checkbox on video upload will be automatically checked by default | 475 | # Moreover, the NSFW checkbox on video upload will be automatically checked by default |
476 | is_nsfw: false | 476 | is_nsfw: false |
477 | # By default, "do_not_list" or "blur" or "display" NSFW videos | 477 | # By default, `do_not_list` or `blur` or `display` NSFW videos |
478 | # Could be overridden per user with a setting | 478 | # Could be overridden per user with a setting |
479 | default_nsfw_policy: 'do_not_list' | 479 | default_nsfw_policy: 'do_not_list' |
480 | 480 | ||
481 | customizations: | 481 | customizations: |
482 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime | 482 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime |
483 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime | 483 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime |
484 | # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:' | 484 | # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add `/` to `Disallow:` |
485 | robots: | | 485 | robots: | |
486 | User-agent: * | 486 | User-agent: * |
487 | Disallow: | 487 | Disallow: |
488 | # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. | 488 | # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. |
489 | securitytxt: | 489 | securitytxt: |
490 | "# 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:" | 490 | '# 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:' |
491 | 491 | ||
492 | services: | 492 | services: |
493 | # Cards configuration to format video in Twitter | 493 | # Cards configuration to format video in Twitter |
@@ -495,7 +495,7 @@ services: | |||
495 | username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published | 495 | username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published |
496 | # If true, a video player will be embedded in the Twitter feed on PeerTube video share | 496 | # If true, a video player will be embedded in the Twitter feed on PeerTube video share |
497 | # If false, we use an image link card that will redirect on your PeerTube instance | 497 | # If false, we use an image link card that will redirect on your PeerTube instance |
498 | # Change it to "true", and then test on https://cards-dev.twitter.com/validator to see if you are whitelisted | 498 | # Change it to `true`, and then test on https://cards-dev.twitter.com/validator to see if you are whitelisted |
499 | whitelisted: false | 499 | whitelisted: false |
500 | 500 | ||
501 | followers: | 501 | followers: |