]>
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 | ca_file: null # Used for self signed certificates | |
29 | from_address: 'admin@example.com' | |
30 | ||
31 | # From the project root directory | |
32 | storage: | |
33 | avatars: 'storage/avatars/' | |
34 | videos: 'storage/videos/' | |
35 | logs: 'storage/logs/' | |
36 | previews: 'storage/previews/' | |
37 | thumbnails: 'storage/thumbnails/' | |
38 | torrents: 'storage/torrents/' | |
39 | cache: 'storage/cache/' | |
40 | ||
41 | log: | |
42 | level: 'info' # debug/info/warning/error | |
43 | ||
44 | cache: | |
45 | previews: | |
46 | size: 1 # Max number of previews you want to cache | |
47 | ||
48 | admin: | |
49 | email: 'admin@example.com' # Your personal email as administrator | |
50 | ||
51 | signup: | |
52 | enabled: false | |
53 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | |
54 | ||
55 | user: | |
56 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). | |
57 | # -1 == unlimited | |
58 | video_quota: -1 | |
59 | ||
60 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag | |
61 | # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions. | |
62 | # Uses a lot of CPU and increases storage! | |
63 | transcoding: | |
64 | enabled: true | |
65 | threads: 1 | |
66 | resolutions: # Only created if the original video has a higher resolution | |
67 | 240p: false | |
68 | 360p: false | |
69 | 480p: false | |
70 | 720p: false | |
71 | 1080p: false | |
72 | ||
73 | instance: | |
74 | name: 'PeerTube' | |
75 | description: 'Welcome to this PeerTube instance!' # Support markdown | |
76 | terms: 'No terms for now.' # Support markdown | |
77 | default_client_route: '/videos/trending' | |
78 | customizations: | |
79 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime | |
80 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime |