]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - config/default.yaml
Better upgrade script consistency
[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
ecb4e35f
C
22smtp:
23 hostname: null
24 port: 465
25 username: null
26 password: null
27 tls: true
28 ca_file: null # Used for self signed certificates
29 from_address: 'admin@example.com'
30
8c308c2b
C
31# From the project root directory
32storage:
6b2ef589 33 avatars: 'storage/avatars/'
6b2ef589
C
34 videos: 'storage/videos/'
35 logs: 'storage/logs/'
36 previews: 'storage/previews/'
37 thumbnails: 'storage/thumbnails/'
38 torrents: 'storage/torrents/'
39 cache: 'storage/cache/'
f981dae8 40
23e27dd5
C
41log:
42 level: 'debug' # debug/info/warning/error
43
f981dae8
C
44cache:
45 previews:
46 size: 1 # Max number of previews you want to cache
4793c343
C
47
48admin:
ecb4e35f 49 email: 'admin@example.com' # Your personal email as administrator
e22528ac
C
50
51signup:
52 enabled: false
291e8d3e 53 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
227d02fe 54
b0f9f39e
C
55user:
56 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
57 # -1 == unlimited
58 video_quota: -1
59
227d02fe 60# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
40298b02
C
61# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions.
62# Uses a lot of CPU and increases storage!
227d02fe 63transcoding:
fce897f3 64 enabled: false
227d02fe 65 threads: 2
40298b02
C
66 resolutions: # Only created if the original video has a higher resolution
67 240p: true
68 360p: true
69 480p: true
70 720p: true
71 1080p: true
66b16caf
C
72
73instance:
74 name: 'PeerTube'
bf874e33
C
75 description: 'Welcome to this PeerTube instance!' # Support markdown
76 terms: 'No terms for now.' # Support markdown