]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - config/default.yaml
Prepare production workflow
[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 # From the project root directory
18 storage:
19 avatars: 'storage/avatars/'
20 certs: 'storage/certs/'
21 videos: 'storage/videos/'
22 logs: 'storage/logs/'
23 previews: 'storage/previews/'
24 thumbnails: 'storage/thumbnails/'
25 torrents: 'storage/torrents/'
26 cache: 'storage/cache/'
27
28 cache:
29 previews:
30 size: 1 # Max number of previews you want to cache
31
32 admin:
33 email: 'admin@example.com'
34
35 signup:
36 enabled: false
37 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
38
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
44 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
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!
47 transcoding:
48 enabled: false
49 threads: 2
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