aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml9
-rw-r--r--config/production.yaml.example3
-rw-r--r--config/test-2.yaml1
-rw-r--r--config/test.yaml2
4 files changed, 15 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 37ef4366f..e4e2d2273 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
56email:
57 body:
58 signature: "PeerTube"
59 object:
60 prefix: "[PeerTube]"
61
56# From the project root directory 62# From the project root directory
57storage: 63storage:
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...
@@ -174,6 +180,8 @@ transcoding:
174 enabled: true 180 enabled: true
175 # Allow your users to upload .mkv, .mov, .avi, .flv videos 181 # Allow your users to upload .mkv, .mov, .avi, .flv videos
176 allow_additional_extensions: true 182 allow_additional_extensions: true
183 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file
184 allow_audio_files: true
177 threads: 1 185 threads: 1
178 resolutions: # Only created if the original video has a higher resolution, uses more storage! 186 resolutions: # Only created if the original video has a higher resolution, uses more storage!
179 240p: false 187 240p: false
@@ -181,6 +189,7 @@ transcoding:
181 480p: false 189 480p: false
182 720p: false 190 720p: false
183 1080p: false 191 1080p: false
192 2160p: false
184 # /!\ EXPERIMENTAL /!\ 193 # /!\ EXPERIMENTAL /!\
185 # /!\ Requires ffmpeg >= 4 194 # /!\ Requires ffmpeg >= 4
186 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: 195 # 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..c025426bb 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -188,6 +188,8 @@ transcoding:
188 enabled: true 188 enabled: true
189 # Allow your users to upload .mkv, .mov, .avi, .flv videos 189 # Allow your users to upload .mkv, .mov, .avi, .flv videos
190 allow_additional_extensions: true 190 allow_additional_extensions: true
191 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file
192 allow_audio_files: true
191 threads: 1 193 threads: 1
192 resolutions: # Only created if the original video has a higher resolution, uses more storage! 194 resolutions: # Only created if the original video has a higher resolution, uses more storage!
193 240p: false 195 240p: false
@@ -195,6 +197,7 @@ transcoding:
195 480p: false 197 480p: false
196 720p: false 198 720p: false
197 1080p: false 199 1080p: false
200 2160p: false
198 # /!\ EXPERIMENTAL /!\ 201 # /!\ EXPERIMENTAL /!\
199 # /!\ Requires ffmpeg >= 4 202 # /!\ Requires ffmpeg >= 4
200 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: 203 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent:
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:
31transcoding: 31transcoding:
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:
55transcoding: 55transcoding:
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