]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - config/default.yaml
Fix upgrade command
[github/Chocobozzz/PeerTube.git] / config / default.yaml
CommitLineData
8c308c2b
C
1listen:
2 port: 9000
3
4webserver:
5 https: false
3737bbaf 6 hostname: 'localhost'
8c308c2b
C
7 port: 9000
8
98dffd10 9# Your database name will be "peertube"+database.suffix
8c308c2b 10database:
3737bbaf 11 hostname: 'localhost'
feb4bdfd
C
12 port: 5432
13 suffix: '_dev'
55fa55a9
C
14 username: 'peertube'
15 password: 'peertube'
8c308c2b
C
16
17# From the project root directory
18storage:
6b2ef589 19 avatars: 'storage/avatars/'
6b2ef589
C
20 videos: 'storage/videos/'
21 logs: 'storage/logs/'
22 previews: 'storage/previews/'
23 thumbnails: 'storage/thumbnails/'
24 torrents: 'storage/torrents/'
25 cache: 'storage/cache/'
f981dae8
C
26
27cache:
28 previews:
29 size: 1 # Max number of previews you want to cache
4793c343
C
30
31admin:
32 email: 'admin@example.com'
e22528ac
C
33
34signup:
35 enabled: false
291e8d3e 36 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
227d02fe 37
b0f9f39e
C
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
227d02fe 43# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
40298b02
C
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!
227d02fe 46transcoding:
fce897f3 47 enabled: false
227d02fe 48 threads: 2
40298b02
C
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