aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/production.yaml.example
diff options
context:
space:
mode:
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r--config/production.yaml.example13
1 files changed, 11 insertions, 2 deletions
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
57email:
58 body:
59 signature: "PeerTube"
60 object:
61 prefix: "[PeerTube]"
62
57# From the project root directory 63# From the project root directory
58storage: 64storage:
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
71log: 77log:
72 level: 'info' # debug/info/warning/error 78 level: 'info' # debug/info/warning/error
79 rotation:
80 enabled : true
73 81
74search: 82search:
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
247services: 258services:
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