aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-20 16:14:55 +0200
committerChocobozzz <me@florianbigard.com>2021-10-20 16:29:41 +0200
commit97b6428af78d7b00d9b57e1a317d1355f5e76939 (patch)
treeda8aecbb965ba77d9bf26accf0468a24de9a8d65 /config/default.yaml
parent400043b1be38cdd7bc39462fa6a545eea0bea03e (diff)
downloadPeerTube-97b6428af78d7b00d9b57e1a317d1355f5e76939.tar.gz
PeerTube-97b6428af78d7b00d9b57e1a317d1355f5e76939.tar.zst
PeerTube-97b6428af78d7b00d9b57e1a317d1355f5e76939.zip
Breaking: fix inconsistencies in configuration
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml26
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:
34trust_proxy: 34trust_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
38database: 38database:
39 hostname: 'localhost' 39 hostname: 'localhost'
40 port: 5432 40 port: 5432
@@ -71,9 +71,9 @@ smtp:
71 71
72email: 72email:
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
79client: 79client:
@@ -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
300transcoding: 300transcoding:
@@ -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
492services: 492services:
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
501followers: 501followers: