]>
Commit | Line | Data |
---|---|---|
8c308c2b C |
1 | listen: |
2 | port: 9000 | |
3 | ||
4 | webserver: | |
5 | https: false | |
3737bbaf | 6 | hostname: 'localhost' |
8c308c2b C |
7 | port: 9000 |
8 | ||
98dffd10 | 9 | # Your database name will be "peertube"+database.suffix |
8c308c2b | 10 | database: |
3737bbaf | 11 | hostname: 'localhost' |
feb4bdfd C |
12 | port: 5432 |
13 | suffix: '_dev' | |
55fa55a9 C |
14 | username: 'peertube' |
15 | password: 'peertube' | |
8c308c2b C |
16 | |
17 | # From the project root directory | |
18 | storage: | |
6b2ef589 | 19 | avatars: 'storage/avatars/' |
6b2ef589 C |
20 | videos: 'storage/videos/' |
21 | logs: 'storage/logs/' | |
22 | previews: 'storage/previews/' | |
23 | thumbnails: 'storage/thumbnails/' | |
24 | torrents: 'storage/torrents/' | |
25 | cache: 'storage/cache/' | |
f981dae8 | 26 | |
23e27dd5 C |
27 | log: |
28 | level: 'debug' # debug/info/warning/error | |
29 | ||
f981dae8 C |
30 | cache: |
31 | previews: | |
32 | size: 1 # Max number of previews you want to cache | |
4793c343 C |
33 | |
34 | admin: | |
35 | email: 'admin@example.com' | |
e22528ac C |
36 | |
37 | signup: | |
38 | enabled: false | |
291e8d3e | 39 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
227d02fe | 40 | |
b0f9f39e C |
41 | user: |
42 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). | |
43 | # -1 == unlimited | |
44 | video_quota: -1 | |
45 | ||
227d02fe | 46 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag |
40298b02 C |
47 | # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions. |
48 | # Uses a lot of CPU and increases storage! | |
227d02fe | 49 | transcoding: |
fce897f3 | 50 | enabled: false |
227d02fe | 51 | threads: 2 |
40298b02 C |
52 | resolutions: # Only created if the original video has a higher resolution |
53 | 240p: true | |
54 | 360p: true | |
55 | 480p: true | |
56 | 720p: true | |
57 | 1080p: true |