diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 51 | ||||
-rw-r--r-- | config/production.yaml.example | 47 | ||||
-rw-r--r-- | config/test.yaml | 1 |
3 files changed, 86 insertions, 13 deletions
diff --git a/config/default.yaml b/config/default.yaml index b9c725cea..2b0419535 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -75,12 +75,33 @@ email: | |||
75 | subject: | 75 | subject: |
76 | prefix: '[PeerTube]' | 76 | prefix: '[PeerTube]' |
77 | 77 | ||
78 | # PeerTube client/interface configuration | 78 | # Update default PeerTube values |
79 | client: | 79 | # Set by API when the field is not provided and put as default value in client |
80 | videos: | 80 | defaults: |
81 | miniature: | 81 | # Change default values when publishing a video (upload/import/go Live) |
82 | # By default PeerTube client displays author username | 82 | publish: |
83 | prefer_author_display_name: false | 83 | download_enabled: true |
84 | |||
85 | comments_enabled: true | ||
86 | |||
87 | # public = 1, unlisted = 2, private = 3, internal = 4 | ||
88 | privacy: 1 | ||
89 | |||
90 | # CC-BY = 1, CC-SA = 2, CC-ND = 3, CC-NC = 4, CC-NC-SA = 5, CC-NC-ND = 6, Public Domain = 7 | ||
91 | # You can also choose a custom licence value added by a plugin | ||
92 | # No licence by default | ||
93 | licence: null | ||
94 | |||
95 | p2p: | ||
96 | # Enable P2P by default in PeerTube client | ||
97 | # Can be enabled/disabled by anonymous users and logged in users | ||
98 | webapp: | ||
99 | enabled: true | ||
100 | |||
101 | # Enable P2P by default in PeerTube embed | ||
102 | # Can be enabled/disabled by URL option | ||
103 | embed: | ||
104 | enabled: true | ||
84 | 105 | ||
85 | # From the project root directory | 106 | # From the project root directory |
86 | storage: | 107 | storage: |
@@ -206,7 +227,7 @@ security: | |||
206 | enabled: true | 227 | enabled: true |
207 | 228 | ||
208 | tracker: | 229 | tracker: |
209 | # If you disable the tracker, you disable the P2P aspect of PeerTube | 230 | # If you disable the tracker, you disable the P2P on your PeerTube instance |
210 | enabled: true | 231 | enabled: true |
211 | # Only handle requests on your videos | 232 | # Only handle requests on your videos |
212 | # If you set this to false it means you have a public tracker | 233 | # If you set this to false it means you have a public tracker |
@@ -425,6 +446,9 @@ import: | |||
425 | # yt-dlp is also supported | 446 | # yt-dlp is also supported |
426 | name: 'youtube-dl' | 447 | name: 'youtube-dl' |
427 | 448 | ||
449 | # Path to the python binary to execute for youtube-dl or yt-dlp | ||
450 | python_path: '/usr/bin/python3' | ||
451 | |||
428 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl | 452 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl |
429 | force_ipv4: false | 453 | force_ipv4: false |
430 | 454 | ||
@@ -581,3 +605,16 @@ search: | |||
581 | disable_local_search: false | 605 | disable_local_search: false |
582 | # If you did not disable local search, you can decide to use the search index by default | 606 | # If you did not disable local search, you can decide to use the search index by default |
583 | is_default_search: false | 607 | is_default_search: false |
608 | |||
609 | # PeerTube client/interface configuration | ||
610 | client: | ||
611 | videos: | ||
612 | miniature: | ||
613 | # By default PeerTube client displays author username | ||
614 | prefer_author_display_name: false | ||
615 | |||
616 | menu: | ||
617 | login: | ||
618 | # If you enable only one external auth plugin | ||
619 | # You can automatically redirect your users on this external platform when they click on the login button | ||
620 | redirect_on_single_external_auth: false | ||
diff --git a/config/production.yaml.example b/config/production.yaml.example index d67349c1d..893ccc33e 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -73,12 +73,31 @@ email: | |||
73 | subject: | 73 | subject: |
74 | prefix: '[PeerTube]' | 74 | prefix: '[PeerTube]' |
75 | 75 | ||
76 | # PeerTube client/interface configuration | 76 | # Update default PeerTube values |
77 | client: | 77 | # Set by API when the field is not provided and put as default value in client |
78 | videos: | 78 | defaults: |
79 | miniature: | 79 | # Change default values when publishing a video (upload/import/go Live) |
80 | # By default PeerTube client displays author username | 80 | publish: |
81 | prefer_author_display_name: false | 81 | download_enabled: true |
82 | |||
83 | comments_enabled: true | ||
84 | |||
85 | # public = 1, unlisted = 2, private = 3, internal = 4 | ||
86 | privacy: 1 | ||
87 | |||
88 | # CC-BY = 1, CC-SA = 2, CC-ND = 3, CC-NC = 4, CC-NC-SA = 5, CC-NC-ND = 6, Public Domain = 7 | ||
89 | # You can also choose a custom licence value added by a plugin | ||
90 | # No licence by default | ||
91 | licence: null | ||
92 | |||
93 | p2p: | ||
94 | # Enable P2P by default | ||
95 | # Can be enabled/disabled by anonymous users and logged in users | ||
96 | webapp: | ||
97 | enabled: true | ||
98 | |||
99 | embed: | ||
100 | enabled: true | ||
82 | 101 | ||
83 | # From the project root directory | 102 | # From the project root directory |
84 | storage: | 103 | storage: |
@@ -435,6 +454,9 @@ import: | |||
435 | # yt-dlp is also supported | 454 | # yt-dlp is also supported |
436 | name: 'youtube-dl' | 455 | name: 'youtube-dl' |
437 | 456 | ||
457 | # Path to the python binary to execute for youtube-dl or yt-dlp | ||
458 | python_path: '/usr/bin/python3' | ||
459 | |||
438 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl | 460 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl |
439 | force_ipv4: false | 461 | force_ipv4: false |
440 | 462 | ||
@@ -591,3 +613,16 @@ search: | |||
591 | disable_local_search: false | 613 | disable_local_search: false |
592 | # If you did not disable local search, you can decide to use the search index by default | 614 | # If you did not disable local search, you can decide to use the search index by default |
593 | is_default_search: false | 615 | is_default_search: false |
616 | |||
617 | # PeerTube client/interface configuration | ||
618 | client: | ||
619 | videos: | ||
620 | miniature: | ||
621 | # By default PeerTube client displays author username | ||
622 | prefer_author_display_name: false | ||
623 | |||
624 | menu: | ||
625 | login: | ||
626 | # If you enable only one external auth plugin | ||
627 | # You can automatically redirect your users on this external platform when they click on the login button | ||
628 | redirect_on_single_external_auth: false | ||
diff --git a/config/test.yaml b/config/test.yaml index 2e7f982d3..461e1b4ba 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -155,6 +155,7 @@ search: | |||
155 | federation: | 155 | federation: |
156 | videos: | 156 | videos: |
157 | federate_unlisted: true | 157 | federate_unlisted: true |
158 | cleanup_remote_interactions: false | ||
158 | 159 | ||
159 | views: | 160 | views: |
160 | videos: | 161 | videos: |