]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - config/default.yaml
Refractor validators
[github/Chocobozzz/PeerTube.git] / config / default.yaml
... / ...
CommitLineData
1listen:
2 port: 9000
3
4webserver:
5 https: false
6 hostname: 'localhost'
7 port: 9000
8
9# Your database name will be "peertube"+database.suffix
10database:
11 hostname: 'localhost'
12 port: 5432
13 suffix: '_dev'
14 username: 'peertube'
15 password: 'peertube'
16
17# From the project root directory
18storage:
19 certs: 'certs/'
20 videos: 'videos/'
21 logs: 'logs/'
22 previews: 'previews/'
23 thumbnails: 'thumbnails/'
24 torrents: 'torrents/'
25 cache: 'cache/'
26
27cache:
28 previews:
29 size: 1 # Max number of previews you want to cache
30
31admin:
32 email: 'admin@example.com'
33
34signup:
35 enabled: false
36 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
37
38user:
39 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
40 # -1 == unlimited
41 video_quota: -1
42
43# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
44# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions.
45# Uses a lot of CPU and increases storage!
46transcoding:
47 enabled: false
48 threads: 2
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