]>
Commit | Line | Data |
---|---|---|
1 | listen: | |
2 | port: 9000 | |
3 | ||
4 | webserver: | |
5 | https: false | |
6 | hostname: 'localhost' | |
7 | port: 9000 | |
8 | ||
9 | # Your database name will be "peertube"+database.suffix | |
10 | database: | |
11 | hostname: 'localhost' | |
12 | port: 5432 | |
13 | suffix: '_dev' | |
14 | username: 'peertube' | |
15 | password: 'peertube' | |
16 | ||
17 | redis: | |
18 | hostname: 'localhost' | |
19 | port: 6379 | |
20 | auth: null | |
21 | ||
22 | smtp: | |
23 | hostname: null | |
24 | port: 465 | |
25 | username: null | |
26 | password: null | |
27 | tls: true | |
28 | disable_starttls: false | |
29 | ca_file: null # Used for self signed certificates | |
30 | from_address: 'admin@example.com' | |
31 | ||
32 | # From the project root directory | |
33 | storage: | |
34 | avatars: 'storage/avatars/' | |
35 | videos: 'storage/videos/' | |
36 | logs: 'storage/logs/' | |
37 | previews: 'storage/previews/' | |
38 | thumbnails: 'storage/thumbnails/' | |
39 | torrents: 'storage/torrents/' | |
40 | cache: 'storage/cache/' | |
41 | ||
42 | log: | |
43 | level: 'info' # debug/info/warning/error | |
44 | ||
45 | cache: | |
46 | previews: | |
47 | size: 1 # Max number of previews you want to cache | |
48 | ||
49 | admin: | |
50 | email: 'admin@example.com' # Your personal email as administrator | |
51 | ||
52 | signup: | |
53 | enabled: false | |
54 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | |
55 | ||
56 | user: | |
57 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). | |
58 | # -1 == unlimited | |
59 | video_quota: -1 | |
60 | ||
61 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag | |
62 | # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions. | |
63 | # Uses a lot of CPU and increases storage! | |
64 | transcoding: | |
65 | enabled: true | |
66 | threads: 1 | |
67 | resolutions: # Only created if the original video has a higher resolution | |
68 | 240p: false | |
69 | 360p: false | |
70 | 480p: false | |
71 | 720p: false | |
72 | 1080p: false | |
73 | ||
74 | instance: | |
75 | name: 'PeerTube' | |
76 | short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.' | |
77 | description: 'Welcome to this PeerTube instance!' # Support markdown | |
78 | terms: 'No terms for now.' # Support markdown | |
79 | default_client_route: '/videos/trending' | |
80 | customizations: | |
81 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime | |
82 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime |