]>
Commit | Line | Data |
---|---|---|
e8395f02 | 1 | listen: |
2 | port: 9000 | |
3 | ||
4 | # Correspond to your reverse proxy "listen" configuration | |
5 | webserver: | |
6 | https: true | |
7 | hostname: undefined | |
8 | port: 443 | |
9 | ||
10 | # Your database name will be "peertube"+database.suffix | |
11 | database: | |
12 | hostname: 'db' | |
13 | port: 5432 | |
14 | suffix: '' | |
15 | username: 'postgres' | |
16 | password: 'postgres' | |
17 | ||
18 | # Redis server for short time storage | |
19 | redis: | |
20 | hostname: 'redis' | |
21 | port: 6379 | |
22 | auth: null | |
23 | ||
24 | # From the project root directory | |
25 | storage: | |
26 | avatars: '../data/avatars/' | |
27 | certs: '../data/certs/' | |
28 | videos: '../data/videos/' | |
29 | logs: '../data/logs/' | |
30 | previews: '../data/previews/' | |
31 | thumbnails: '../data/thumbnails/' | |
32 | torrents: '../data/torrents/' | |
33 | cache: '../data/cache/' | |
34 | ||
35 | log: | |
36 | level: 'info' # debug/info/warning/error | |
37 | ||
38 | cache: | |
39 | previews: | |
40 | size: 100 # Max number of previews you want to cache | |
41 | ||
42 | admin: | |
43 | email: undefined | |
44 | ||
45 | signup: | |
46 | enabled: false | |
47 | limit: -1 | |
48 | ||
49 | user: | |
50 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). | |
51 | # -1 == unlimited | |
52 | video_quota: -1 | |
53 | ||
54 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag | |
55 | # Uses a lot of CPU! | |
56 | transcoding: | |
57 | enabled: false | |
58 | threads: 2 | |
59 | resolutions: # Only created if the original video has a higher resolution | |
60 | 240p: true | |
61 | 360p: true | |
62 | 480p: true | |
63 | 720p: true | |
64 | 1080p: true |