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