]>
Commit | Line | Data |
---|---|---|
552cc9d6 C |
1 | listen: |
2 | port: 9000 | |
3 | ||
21511bba | 4 | # Correspond to your reverse proxy "listen" configuration |
f1f4732f C |
5 | webserver: |
6 | https: false | |
3737bbaf | 7 | hostname: 'example.com' |
f1f4732f | 8 | port: 80 |
825a5d9c | 9 | |
98dffd10 | 10 | # Your database name will be "peertube"+database.suffix |
825a5d9c | 11 | database: |
552cc9d6 C |
12 | hostname: 'localhost' |
13 | port: 5432 | |
feb4bdfd | 14 | suffix: '_prod' |
6c05c149 C |
15 | username: 'peertube' |
16 | password: 'peertube' | |
552cc9d6 C |
17 | |
18 | # From the project root directory | |
19 | storage: | |
20 | certs: 'certs/' | |
21 | videos: 'videos/' | |
22 | logs: 'logs/' | |
23 | previews: 'previews/' | |
24 | thumbnails: 'thumbnails/' | |
25 | torrents: 'torrents/' | |
f981dae8 | 26 | cache: 'cache/' |
4793c343 | 27 | |
62ccb24e C |
28 | cache: |
29 | previews: | |
30 | size: 1 # Max number of previews you want to cache | |
31 | ||
4793c343 C |
32 | admin: |
33 | email: 'admin@example.com' | |
e22528ac C |
34 | |
35 | signup: | |
36 | enabled: false | |
62ccb24e | 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 C |
44 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag |
45 | # Uses a lot of CPU! | |
46 | transcoding: | |
47 | enabled: false | |
48 | threads: 2 | |
14d3270f C |
49 | resolutions: # Only created if the original video has a higher resolution |
50 | 240p: true | |
51 | 360p: true | |
52 | 480p: true | |
53 | 720p: true | |
54 | 1080p: true |