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.example28
1 files changed, 26 insertions, 2 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example
index f9da8e0dd..c54e1a516 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -46,8 +46,11 @@ smtp:
46 46
47# From the project root directory 47# From the project root directory
48storage: 48storage:
49 tmp: '/var/www/peertube/storage/tmp/' # Used to download data (imports etc), store uploaded files before processing...
49 avatars: '/var/www/peertube/storage/avatars/' 50 avatars: '/var/www/peertube/storage/avatars/'
50 videos: '/var/www/peertube/storage/videos/' 51 videos: '/var/www/peertube/storage/videos/'
52 playlists: '/var/www/peertube/storage/playlists/'
53 redundancy: '/var/www/peertube/storage/videos/'
51 logs: '/var/www/peertube/storage/logs/' 54 logs: '/var/www/peertube/storage/logs/'
52 previews: '/var/www/peertube/storage/previews/' 55 previews: '/var/www/peertube/storage/previews/'
53 thumbnails: '/var/www/peertube/storage/thumbnails/' 56 thumbnails: '/var/www/peertube/storage/thumbnails/'
@@ -59,7 +62,10 @@ log:
59 level: 'info' # debug/info/warning/error 62 level: 'info' # debug/info/warning/error
60 63
61search: 64search:
62 remote_uri: # Add ability to search remote videos/actors by URI, that may not be federated with your instance 65 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
66 # If enabled, the associated group will be able to "escape" from the instance follows
67 # That means they will be able to follow channels, watch videos, list videos of non followed instances
68 remote_uri:
63 users: true 69 users: true
64 anonymous: false 70 anonymous: false
65 71
@@ -73,7 +79,7 @@ trending:
73redundancy: 79redundancy:
74 videos: 80 videos:
75 check_interval: '1 hour' # How often you want to check new videos to cache 81 check_interval: '1 hour' # How often you want to check new videos to cache
76 strategies: 82 strategies: # Just uncomment strategies you want
77# - 83# -
78# size: '10GB' 84# size: '10GB'
79# # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances) 85# # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
@@ -110,8 +116,13 @@ cache:
110 size: 500 # Max number of video captions/subtitles you want to cache 116 size: 500 # Max number of video captions/subtitles you want to cache
111 117
112admin: 118admin:
119 # Used to generate the root user at first startup
120 # And to receive emails from the contact form
113 email: 'admin@example.com' 121 email: 'admin@example.com'
114 122
123contact_form:
124 enabled: true
125
115signup: 126signup:
116 enabled: false 127 enabled: false
117 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited 128 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
@@ -132,6 +143,8 @@ user:
132# Please, do not disable transcoding since many uploaded videos will not work 143# Please, do not disable transcoding since many uploaded videos will not work
133transcoding: 144transcoding:
134 enabled: true 145 enabled: true
146 # Allow your users to upload .mkv, .mov, .avi, .flv videos
147 allow_additional_extensions: true
135 threads: 1 148 threads: 1
136 resolutions: # Only created if the original video has a higher resolution, uses more storage! 149 resolutions: # Only created if the original video has a higher resolution, uses more storage!
137 240p: false 150 240p: false
@@ -139,6 +152,15 @@ transcoding:
139 480p: false 152 480p: false
140 720p: false 153 720p: false
141 1080p: false 154 1080p: false
155 # /!\ EXPERIMENTAL /!\
156 # /!\ Requires ffmpeg >= 3.4
157 # Generate HLS playlist/segments. Better playback than with WebTorrent:
158 # * Resolution change is smoother
159 # * Faster playback in particular with long videos
160 # * More stable playback (less bugs/infinite loading)
161 # /!\ Multiply videos storage by two /!\
162 hls:
163 enabled: false
142 164
143import: 165import:
144 # Add ability for your users to import remote videos (from YouTube, torrent...) 166 # Add ability for your users to import remote videos (from YouTube, torrent...)
@@ -170,6 +192,8 @@ instance:
170 "# 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:" 192 "# 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:"
171 193
172services: 194services:
195 # You can provide a reporting endpoint for Content Security Policy violations
196 csp-logger:
173 # Cards configuration to format video in Twitter 197 # Cards configuration to format video in Twitter
174 twitter: 198 twitter:
175 username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published 199 username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published