4 # Correspond to your reverse proxy "listen" configuration
7 hostname: 'example.com'
10 # Your database name will be "peertube"+database.suffix
29 ca_file: null # Used for self signed certificates
30 from_address: 'admin@example.com'
32 # From the project root directory
34 avatars: '/var/www/peertube/storage/avatars/'
35 videos: '/var/www/peertube/storage/videos/'
36 logs: '/var/www/peertube/storage/logs/'
37 previews: '/var/www/peertube/storage/previews/'
38 thumbnails: '/var/www/peertube/storage/thumbnails/'
39 torrents: '/var/www/peertube/storage/torrents/'
40 cache: '/var/www/peertube/storage/cache/'
43 level: 'info' # debug/info/warning/error
46 ###############################################################################
48 # From this point, all the following keys can be overriden by the web interface
49 # (local-production.json file). If you need to change some values, prefer to
50 # use the web interface because the configuration will be automatically
51 # reloaded without any need to restart PeerTube.
53 # /!\ If you already have a local-production.json file, the modification of the
54 # following keys will have no effect /!\.
56 ###############################################################################
60 size: 100 # Max number of previews you want to cache
63 email: 'admin@example.com'
67 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
70 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
74 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
79 resolutions: # Only created if the original video has a higher resolution
88 description: '' # Support markdown
89 terms: '' # Support markdown
90 default_client_route: '/videos/trending'
92 javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
93 css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime