]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - config/default.yaml
fd04b5ce652580888e6d4b945fcce27be7bf1368
[github/Chocobozzz/PeerTube.git] / config / default.yaml
1 listen:
2 port: 9000
3
4 webserver:
5 https: false
6 hostname: 'localhost'
7 port: 9000
8
9 # Your database name will be "peertube"+database.suffix
10 database:
11 hostname: 'localhost'
12 port: 5432
13 suffix: '_dev'
14 username: 'peertube'
15 password: 'peertube'
16
17 redis:
18 hostname: 'localhost'
19 port: 6379
20 auth: null
21
22 # From the project root directory
23 storage:
24 avatars: 'storage/avatars/'
25 videos: 'storage/videos/'
26 logs: 'storage/logs/'
27 previews: 'storage/previews/'
28 thumbnails: 'storage/thumbnails/'
29 torrents: 'storage/torrents/'
30 cache: 'storage/cache/'
31
32 log:
33 level: 'debug' # debug/info/warning/error
34
35 cache:
36 previews:
37 size: 1 # Max number of previews you want to cache
38
39 admin:
40 email: 'admin@example.com'
41
42 signup:
43 enabled: false
44 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
45
46 user:
47 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
48 # -1 == unlimited
49 video_quota: -1
50
51 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
52 # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions.
53 # Uses a lot of CPU and increases storage!
54 transcoding:
55 enabled: false
56 threads: 2
57 resolutions: # Only created if the original video has a higher resolution
58 240p: true
59 360p: true
60 480p: true
61 720p: true
62 1080p: true