5 # Correspond to your reverse proxy "listen" configuration
8 hostname: 'example.com'
11 # Proxies to trust to get real client IP
12 # If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
13 # If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)
17 # Your database name will be "peertube"+database.suffix
25 # Redis server for short time storage
31 # SMTP server to send emails
38 disable_starttls: false
39 ca_file: null # Used for self signed certificates
40 from_address: 'admin@example.com'
42 # From the project root directory
44 avatars: '/var/www/peertube/storage/avatars/'
45 videos: '/var/www/peertube/storage/videos/'
46 logs: '/var/www/peertube/storage/logs/'
47 previews: '/var/www/peertube/storage/previews/'
48 thumbnails: '/var/www/peertube/storage/thumbnails/'
49 torrents: '/var/www/peertube/storage/torrents/'
50 cache: '/var/www/peertube/storage/cache/'
53 level: 'info' # debug/info/warning/error
56 ###############################################################################
58 # From this point, all the following keys can be overridden by the web interface
59 # (local-production.json file). If you need to change some values, prefer to
60 # use the web interface because the configuration will be automatically
61 # reloaded without any need to restart PeerTube.
63 # /!\ If you already have a local-production.json file, the modification of the
64 # following keys will have no effect /!\.
66 ###############################################################################
70 size: 100 # Max number of previews you want to cache
73 email: 'admin@example.com'
77 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
80 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
84 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
89 resolutions: # Only created if the original video has a higher resolution
99 short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.'
100 description: '' # Support markdown
101 terms: '' # Support markdown
102 default_client_route: '/videos/trending'
103 # By default, "do_not_list" or "blur" or "display" NSFW videos
104 # Could be overridden per user with a setting
105 default_nsfw_policy: 'do_not_list'
107 javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
108 css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime
109 # Robot.txt rules. To allow robots to crawl your instance and allow indexation of your site, remove the '/'
115 # Cards configuration to format video in Twitter
117 username: '@Chocobozzz' # The Twitter @username the card should be attributed to
118 # If true, a video player will be embedded in the Twitter feed on PeerTube video share
119 # If false, we use an image link card that will redirect on your PeerTube instance
120 # Test on https://cards-dev.twitter.com/validator to see if you are whitelisted