4 # Correspond to your reverse proxy "listen" configuration
7 hostname: 'example.com'
10 # Proxies to trust to get real client IP
11 # If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
12 # If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)
16 # Your database name will be "peertube"+database.suffix
24 # Redis server for short time storage
30 # SMTP server to send emails
37 disable_starttls: false
38 ca_file: null # Used for self signed certificates
39 from_address: 'admin@example.com'
41 # From the project root directory
43 avatars: '/var/www/peertube/storage/avatars/'
44 videos: '/var/www/peertube/storage/videos/'
45 logs: '/var/www/peertube/storage/logs/'
46 previews: '/var/www/peertube/storage/previews/'
47 thumbnails: '/var/www/peertube/storage/thumbnails/'
48 torrents: '/var/www/peertube/storage/torrents/'
49 cache: '/var/www/peertube/storage/cache/'
52 level: 'info' # debug/info/warning/error
55 ###############################################################################
57 # From this point, all the following keys can be overridden by the web interface
58 # (local-production.json file). If you need to change some values, prefer to
59 # use the web interface because the configuration will be automatically
60 # reloaded without any need to restart PeerTube.
62 # /!\ If you already have a local-production.json file, the modification of the
63 # following keys will have no effect /!\.
65 ###############################################################################
69 size: 100 # Max number of previews you want to cache
72 email: 'admin@example.com'
76 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
79 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
83 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
88 resolutions: # Only created if the original video has a higher resolution
98 short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.'
99 description: '' # Support markdown
100 terms: '' # Support markdown
101 default_client_route: '/videos/trending'
103 javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
104 css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime