4 # Correspond to your reverse proxy "listen" configuration
7 hostname: 'example.com'
10 # Your database name will be "peertube"+database.suffix
29 disable_starttls: false
30 ca_file: null # Used for self signed certificates
31 from_address: 'admin@example.com'
33 # From the project root directory
35 avatars: '/var/www/peertube/storage/avatars/'
36 videos: '/var/www/peertube/storage/videos/'
37 logs: '/var/www/peertube/storage/logs/'
38 previews: '/var/www/peertube/storage/previews/'
39 thumbnails: '/var/www/peertube/storage/thumbnails/'
40 torrents: '/var/www/peertube/storage/torrents/'
41 cache: '/var/www/peertube/storage/cache/'
44 level: 'info' # debug/info/warning/error
47 ###############################################################################
49 # From this point, all the following keys can be overriden by the web interface
50 # (local-production.json file). If you need to change some values, prefer to
51 # use the web interface because the configuration will be automatically
52 # reloaded without any need to restart PeerTube.
54 # /!\ If you already have a local-production.json file, the modification of the
55 # following keys will have no effect /!\.
57 ###############################################################################
61 size: 100 # Max number of previews you want to cache
64 email: 'admin@example.com'
68 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
71 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
75 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
80 resolutions: # Only created if the original video has a higher resolution
89 short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.'
90 description: '' # Support markdown
91 terms: '' # Support markdown
92 default_client_route: '/videos/trending'
94 javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
95 css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime