]>
Commit | Line | Data |
---|---|---|
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 | # From the project root directory | |
24 | storage: | |
25 | avatars: '/var/www/peertube/storage/avatars/' | |
26 | videos: '/var/www/peertube/storage/videos/' | |
27 | logs: '/var/www/peertube/storage/logs/' | |
28 | previews: '/var/www/peertube/storage/previews/' | |
29 | thumbnails: '/var/www/peertube/storage/thumbnails/' | |
30 | torrents: '/var/www/peertube/storage/torrents/' | |
31 | cache: '/var/www/peertube/storage/cache/' | |
32 | ||
33 | log: | |
34 | level: 'debug' # debug/info/warning/error | |
35 | ||
36 | cache: | |
37 | previews: | |
38 | size: 100 # Max number of previews you want to cache | |
39 | ||
40 | admin: | |
41 | email: 'admin@example.com' | |
42 | ||
43 | signup: | |
44 | enabled: false | |
45 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | |
46 | ||
47 | user: | |
48 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). | |
49 | # -1 == unlimited | |
50 | video_quota: -1 | |
51 | ||
52 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag | |
53 | # Uses a lot of CPU! | |
54 | transcoding: | |
55 | enabled: false | |
56 | threads: 2 | |
57 | resolutions: # Only created if the original video has a higher resolution | |
58 | 240p: true | |
59 | 360p: true | |
60 | 480p: true | |
61 | 720p: true | |
62 | 1080p: true |