aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml30
1 files changed, 27 insertions, 3 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 0d7d948c2..5a83b271e 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -45,8 +45,11 @@ smtp:
45 45
46# From the project root directory 46# From the project root directory
47storage: 47storage:
48 tmp: 'storage/tmp/' # Used to download data (imports etc), store uploaded files before processing...
48 avatars: 'storage/avatars/' 49 avatars: 'storage/avatars/'
49 videos: 'storage/videos/' 50 videos: 'storage/videos/'
51 playlists: 'storage/playlists/'
52 redundancy: 'storage/redundancy/'
50 logs: 'storage/logs/' 53 logs: 'storage/logs/'
51 previews: 'storage/previews/' 54 previews: 'storage/previews/'
52 thumbnails: 'storage/thumbnails/' 55 thumbnails: 'storage/thumbnails/'
@@ -58,7 +61,10 @@ log:
58 level: 'info' # debug/info/warning/error 61 level: 'info' # debug/info/warning/error
59 62
60search: 63search:
61 remote_uri: # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance 64 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
65 # If enabled, the associated group will be able to "escape" from the instance follows
66 # That means they will be able to follow channels, watch videos, list videos of non followed instances
67 remote_uri:
62 users: true 68 users: true
63 anonymous: false 69 anonymous: false
64 70
@@ -72,7 +78,7 @@ trending:
72redundancy: 78redundancy:
73 videos: 79 videos:
74 check_interval: '1 hour' # How often you want to check new videos to cache 80 check_interval: '1 hour' # How often you want to check new videos to cache
75 strategies: 81 strategies: # Just uncomment strategies you want
76# - 82# -
77# size: '10GB' 83# size: '10GB'
78# # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances) 84# # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
@@ -97,7 +103,12 @@ cache:
97 size: 500 # Max number of video captions/subtitles you want to cache 103 size: 500 # Max number of video captions/subtitles you want to cache
98 104
99admin: 105admin:
100 email: 'admin@example.com' # Your personal email as administrator 106 # Used to generate the root user at first startup
107 # And to receive emails from the contact form
108 email: 'admin@example.com'
109
110contact_form:
111 enabled: true
101 112
102signup: 113signup:
103 enabled: false 114 enabled: false
@@ -119,6 +130,8 @@ user:
119# Please, do not disable transcoding since many uploaded videos will not work 130# Please, do not disable transcoding since many uploaded videos will not work
120transcoding: 131transcoding:
121 enabled: true 132 enabled: true
133 # Allow your users to upload .mkv, .mov, .avi, .flv videos
134 allow_additional_extensions: true
122 threads: 1 135 threads: 1
123 resolutions: # Only created if the original video has a higher resolution, uses more storage! 136 resolutions: # Only created if the original video has a higher resolution, uses more storage!
124 240p: false 137 240p: false
@@ -126,6 +139,15 @@ transcoding:
126 480p: false 139 480p: false
127 720p: false 140 720p: false
128 1080p: false 141 1080p: false
142 # /!\ EXPERIMENTAL /!\
143 # /!\ Requires ffmpeg >= 3.4
144 # Generate HLS playlist/segments. Better playback than with WebTorrent:
145 # * Resolution change is smoother
146 # * Faster playback in particular with long videos
147 # * More stable playback (less bugs/infinite loading)
148 # /!\ Multiply videos storage by two /!\
149 hls:
150 enabled: false
129 151
130import: 152import:
131 # Add ability for your users to import remote videos (from YouTube, torrent...) 153 # Add ability for your users to import remote videos (from YouTube, torrent...)
@@ -156,6 +178,8 @@ instance:
156 "# 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:" 178 "# 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:"
157 179
158services: 180services:
181 # You can provide a reporting endpoint for Content Security Policy violations
182 csp-logger:
159 # Cards configuration to format video in Twitter 183 # Cards configuration to format video in Twitter
160 twitter: 184 twitter:
161 username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published 185 username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published