]>
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 | ||
6500a90c | 24 | # SMTP server to send emails |
25 | smtp: | |
26 | hostname: null | |
27 | port: 465 | |
28 | username: null | |
29 | password: null | |
30 | tls: true | |
31 | ca_file: null # Used for self signed certificates | |
32 | from_address: 'admin@example.com' | |
33 | ||
e8395f02 | 34 | # From the project root directory |
35 | storage: | |
36 | avatars: '../data/avatars/' | |
37 | certs: '../data/certs/' | |
38 | videos: '../data/videos/' | |
39 | logs: '../data/logs/' | |
40 | previews: '../data/previews/' | |
41 | thumbnails: '../data/thumbnails/' | |
42 | torrents: '../data/torrents/' | |
43 | cache: '../data/cache/' | |
44 | ||
45 | log: | |
46 | level: 'info' # debug/info/warning/error | |
47 | ||
48 | cache: | |
49 | previews: | |
50 | size: 100 # Max number of previews you want to cache | |
51 | ||
52 | admin: | |
53 | email: undefined | |
54 | ||
55 | signup: | |
56 | enabled: false | |
57 | limit: -1 | |
58 | ||
59 | user: | |
60 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). | |
61 | # -1 == unlimited | |
62 | video_quota: -1 | |
63 | ||
64 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag | |
65 | # Uses a lot of CPU! | |
66 | transcoding: | |
67 | enabled: false | |
68 | threads: 2 | |
69 | resolutions: # Only created if the original video has a higher resolution | |
70 | 240p: true | |
71 | 360p: true | |
72 | 480p: true | |
73 | 720p: true | |
74 | 1080p: true | |
6500a90c | 75 | |
76 | # Instance settings | |
77 | instance: | |
78 | name: 'PeerTube' | |
79 | description: '' # Support markdown | |
80 | terms: '' # Support markdown |