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, 12 insertions, 1 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example
index ac15fc736..661eac0d5 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -46,8 +46,10 @@ 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 redundancy: '/var/www/peertube/storage/videos/'
51 logs: '/var/www/peertube/storage/logs/' 53 logs: '/var/www/peertube/storage/logs/'
52 previews: '/var/www/peertube/storage/previews/' 54 previews: '/var/www/peertube/storage/previews/'
53 thumbnails: '/var/www/peertube/storage/thumbnails/' 55 thumbnails: '/var/www/peertube/storage/thumbnails/'
@@ -76,7 +78,7 @@ trending:
76redundancy: 78redundancy:
77 videos: 79 videos:
78 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
79 strategies: 81 strategies: # Just uncomment strategies you want
80# - 82# -
81# size: '10GB' 83# size: '10GB'
82# # 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)
@@ -113,8 +115,13 @@ cache:
113 size: 500 # Max number of video captions/subtitles you want to cache 115 size: 500 # Max number of video captions/subtitles you want to cache
114 116
115admin: 117admin:
118 # Used to generate the root user at first startup
119 # And to receive emails from the contact form
116 email: 'admin@example.com' 120 email: 'admin@example.com'
117 121
122contact_form:
123 enabled: true
124
118signup: 125signup:
119 enabled: false 126 enabled: false
120 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited 127 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
@@ -135,6 +142,8 @@ user:
135# Please, do not disable transcoding since many uploaded videos will not work 142# Please, do not disable transcoding since many uploaded videos will not work
136transcoding: 143transcoding:
137 enabled: true 144 enabled: true
145 # Allow your users to upload .mkv, .mov, .avi, .flv videos
146 allow_additional_extensions: true
138 threads: 1 147 threads: 1
139 resolutions: # Only created if the original video has a higher resolution, uses more storage! 148 resolutions: # Only created if the original video has a higher resolution, uses more storage!
140 240p: false 149 240p: false
@@ -173,6 +182,8 @@ instance:
173 "# 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:" 182 "# 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:"
174 183
175services: 184services:
185 # You can provide a reporting endpoint for Content Security Policy violations
186 csp-logger:
176 # Cards configuration to format video in Twitter 187 # Cards configuration to format video in Twitter
177 twitter: 188 twitter:
178 username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published 189 username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published