]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - config/default.yaml
Upgrade clearer in production guide
[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 16
94a5ff8a
C
17redis:
18 hostname: 'localhost'
19 port: 6379
20 auth: null
21
8c308c2b
C
22# From the project root directory
23storage:
6b2ef589 24 avatars: 'storage/avatars/'
6b2ef589
C
25 videos: 'storage/videos/'
26 logs: 'storage/logs/'
27 previews: 'storage/previews/'
28 thumbnails: 'storage/thumbnails/'
29 torrents: 'storage/torrents/'
30 cache: 'storage/cache/'
f981dae8 31
23e27dd5
C
32log:
33 level: 'debug' # debug/info/warning/error
34
f981dae8
C
35cache:
36 previews:
37 size: 1 # Max number of previews you want to cache
4793c343
C
38
39admin:
40 email: 'admin@example.com'
e22528ac
C
41
42signup:
43 enabled: false
291e8d3e 44 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
227d02fe 45
b0f9f39e
C
46user:
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
227d02fe 51# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
40298b02
C
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!
227d02fe 54transcoding:
fce897f3 55 enabled: false
227d02fe 56 threads: 2
40298b02
C
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