]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - config/production.yaml.example
Add option to disable starttls
[github/Chocobozzz/PeerTube.git] / config / production.yaml.example
1 listen:
2 port: 9000
3
4 # Correspond to your reverse proxy "listen" configuration
5 webserver:
6 https: true
7 hostname: 'example.com'
8 port: 443
9
10 # Your database name will be "peertube"+database.suffix
11 database:
12 hostname: 'localhost'
13 port: 5432
14 suffix: '_prod'
15 username: 'peertube'
16 password: 'peertube'
17
18 redis:
19 hostname: 'localhost'
20 port: 6379
21 auth: null
22
23 smtp:
24 hostname: null
25 port: 465
26 username: null
27 password: null
28 tls: true
29 disable_starttls: false
30 ca_file: null # Used for self signed certificates
31 from_address: 'admin@example.com'
32
33 # From the project root directory
34 storage:
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/'
42
43 log:
44 level: 'info' # debug/info/warning/error
45
46
47 ###############################################################################
48 #
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.
53 #
54 # /!\ If you already have a local-production.json file, the modification of the
55 # following keys will have no effect /!\.
56 #
57 ###############################################################################
58
59 cache:
60 previews:
61 size: 100 # Max number of previews you want to cache
62
63 admin:
64 email: 'admin@example.com'
65
66 signup:
67 enabled: false
68 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
69
70 user:
71 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
72 # -1 == unlimited
73 video_quota: -1
74
75 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
76 # Uses a lot of CPU!
77 transcoding:
78 enabled: true
79 threads: 1
80 resolutions: # Only created if the original video has a higher resolution
81 240p: false
82 360p: false
83 480p: false
84 720p: false
85 1080p: false
86
87 instance:
88 name: 'PeerTube'
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'
93 customizations:
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