diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 11 | ||||
-rw-r--r-- | config/production.yaml.example | 13 | ||||
-rw-r--r-- | config/test-2.yaml | 1 | ||||
-rw-r--r-- | config/test.yaml | 2 |
4 files changed, 25 insertions, 2 deletions
diff --git a/config/default.yaml b/config/default.yaml index 37ef4366f..a213d5b0a 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -53,6 +53,12 @@ smtp: | |||
53 | ca_file: null # Used for self signed certificates | 53 | ca_file: null # Used for self signed certificates |
54 | from_address: 'admin@example.com' | 54 | from_address: 'admin@example.com' |
55 | 55 | ||
56 | email: | ||
57 | body: | ||
58 | signature: "PeerTube" | ||
59 | object: | ||
60 | prefix: "[PeerTube]" | ||
61 | |||
56 | # From the project root directory | 62 | # From the project root directory |
57 | storage: | 63 | storage: |
58 | tmp: 'storage/tmp/' # Used to download data (imports etc), store uploaded files before processing... | 64 | tmp: 'storage/tmp/' # Used to download data (imports etc), store uploaded files before processing... |
@@ -69,6 +75,8 @@ storage: | |||
69 | 75 | ||
70 | log: | 76 | log: |
71 | level: 'info' # debug/info/warning/error | 77 | level: 'info' # debug/info/warning/error |
78 | rotation: | ||
79 | enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate | ||
72 | 80 | ||
73 | search: | 81 | search: |
74 | # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance | 82 | # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance |
@@ -174,6 +182,8 @@ transcoding: | |||
174 | enabled: true | 182 | enabled: true |
175 | # Allow your users to upload .mkv, .mov, .avi, .flv videos | 183 | # Allow your users to upload .mkv, .mov, .avi, .flv videos |
176 | allow_additional_extensions: true | 184 | allow_additional_extensions: true |
185 | # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file | ||
186 | allow_audio_files: true | ||
177 | threads: 1 | 187 | threads: 1 |
178 | resolutions: # Only created if the original video has a higher resolution, uses more storage! | 188 | resolutions: # Only created if the original video has a higher resolution, uses more storage! |
179 | 240p: false | 189 | 240p: false |
@@ -181,6 +191,7 @@ transcoding: | |||
181 | 480p: false | 191 | 480p: false |
182 | 720p: false | 192 | 720p: false |
183 | 1080p: false | 193 | 1080p: false |
194 | 2160p: false | ||
184 | # /!\ EXPERIMENTAL /!\ | 195 | # /!\ EXPERIMENTAL /!\ |
185 | # /!\ Requires ffmpeg >= 4 | 196 | # /!\ Requires ffmpeg >= 4 |
186 | # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: | 197 | # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: |
diff --git a/config/production.yaml.example b/config/production.yaml.example index f84e15670..cdf6136d8 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -54,6 +54,12 @@ smtp: | |||
54 | ca_file: null # Used for self signed certificates | 54 | ca_file: null # Used for self signed certificates |
55 | from_address: 'admin@example.com' | 55 | from_address: 'admin@example.com' |
56 | 56 | ||
57 | email: | ||
58 | body: | ||
59 | signature: "PeerTube" | ||
60 | object: | ||
61 | prefix: "[PeerTube]" | ||
62 | |||
57 | # From the project root directory | 63 | # From the project root directory |
58 | storage: | 64 | storage: |
59 | tmp: '/var/www/peertube/storage/tmp/' # Used to download data (imports etc), store uploaded files before processing... | 65 | tmp: '/var/www/peertube/storage/tmp/' # Used to download data (imports etc), store uploaded files before processing... |
@@ -70,6 +76,8 @@ storage: | |||
70 | 76 | ||
71 | log: | 77 | log: |
72 | level: 'info' # debug/info/warning/error | 78 | level: 'info' # debug/info/warning/error |
79 | rotation: | ||
80 | enabled : true | ||
73 | 81 | ||
74 | search: | 82 | search: |
75 | # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance | 83 | # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance |
@@ -188,6 +196,8 @@ transcoding: | |||
188 | enabled: true | 196 | enabled: true |
189 | # Allow your users to upload .mkv, .mov, .avi, .flv videos | 197 | # Allow your users to upload .mkv, .mov, .avi, .flv videos |
190 | allow_additional_extensions: true | 198 | allow_additional_extensions: true |
199 | # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file | ||
200 | allow_audio_files: true | ||
191 | threads: 1 | 201 | threads: 1 |
192 | resolutions: # Only created if the original video has a higher resolution, uses more storage! | 202 | resolutions: # Only created if the original video has a higher resolution, uses more storage! |
193 | 240p: false | 203 | 240p: false |
@@ -195,6 +205,7 @@ transcoding: | |||
195 | 480p: false | 205 | 480p: false |
196 | 720p: false | 206 | 720p: false |
197 | 1080p: false | 207 | 1080p: false |
208 | 2160p: false | ||
198 | # /!\ EXPERIMENTAL /!\ | 209 | # /!\ EXPERIMENTAL /!\ |
199 | # /!\ Requires ffmpeg >= 4 | 210 | # /!\ Requires ffmpeg >= 4 |
200 | # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: | 211 | # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: |
@@ -245,8 +256,6 @@ instance: | |||
245 | "# 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:" | 256 | "# 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:" |
246 | 257 | ||
247 | services: | 258 | services: |
248 | # You can provide a reporting endpoint for Content Security Policy violations | ||
249 | csp-logger: | ||
250 | # Cards configuration to format video in Twitter | 259 | # Cards configuration to format video in Twitter |
251 | twitter: | 260 | twitter: |
252 | username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published | 261 | username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published |
diff --git a/config/test-2.yaml b/config/test-2.yaml index a5515afa4..de7300366 100644 --- a/config/test-2.yaml +++ b/config/test-2.yaml | |||
@@ -31,3 +31,4 @@ signup: | |||
31 | transcoding: | 31 | transcoding: |
32 | enabled: true | 32 | enabled: true |
33 | allow_additional_extensions: true | 33 | allow_additional_extensions: true |
34 | allow_audio_files: true | ||
diff --git a/config/test.yaml b/config/test.yaml index 682530840..8d3921614 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -55,6 +55,7 @@ signup: | |||
55 | transcoding: | 55 | transcoding: |
56 | enabled: true | 56 | enabled: true |
57 | allow_additional_extensions: false | 57 | allow_additional_extensions: false |
58 | allow_audio_files: false | ||
58 | threads: 2 | 59 | threads: 2 |
59 | resolutions: | 60 | resolutions: |
60 | 240p: true | 61 | 240p: true |
@@ -62,6 +63,7 @@ transcoding: | |||
62 | 480p: true | 63 | 480p: true |
63 | 720p: true | 64 | 720p: true |
64 | 1080p: true | 65 | 1080p: true |
66 | 2160p: true | ||
65 | hls: | 67 | hls: |
66 | enabled: true | 68 | enabled: true |
67 | 69 | ||