]>
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: | |
2295ce6c | 19 | avatars: 'avatars/' |
8c308c2b | 20 | certs: 'certs/' |
b3d92510 | 21 | videos: 'videos/' |
8c308c2b | 22 | logs: 'logs/' |
6a94a109 | 23 | previews: 'previews/' |
cbe2f7c3 | 24 | thumbnails: 'thumbnails/' |
052937db | 25 | torrents: 'torrents/' |
f981dae8 C |
26 | cache: 'cache/' |
27 | ||
28 | cache: | |
29 | previews: | |
30 | size: 1 # Max number of previews you want to cache | |
4793c343 C |
31 | |
32 | admin: | |
33 | email: 'admin@example.com' | |
e22528ac C |
34 | |
35 | signup: | |
36 | enabled: false | |
291e8d3e | 37 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
227d02fe | 38 | |
b0f9f39e C |
39 | user: |
40 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). | |
41 | # -1 == unlimited | |
42 | video_quota: -1 | |
43 | ||
227d02fe | 44 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag |
40298b02 C |
45 | # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions. |
46 | # Uses a lot of CPU and increases storage! | |
227d02fe | 47 | transcoding: |
fce897f3 | 48 | enabled: false |
227d02fe | 49 | threads: 2 |
40298b02 C |
50 | resolutions: # Only created if the original video has a higher resolution |
51 | 240p: true | |
52 | 360p: true | |
53 | 480p: true | |
54 | 720p: true | |
55 | 1080p: true |