]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - config/default.yaml
add .editorconfig to maintain consistent coding styles (#429)
[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
490b595a
C
9# Proxies to trust to get real client IP
10# If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
11# If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)
12trust_proxy:
13 - 'loopback'
14
98dffd10 15# Your database name will be "peertube"+database.suffix
8c308c2b 16database:
3737bbaf 17 hostname: 'localhost'
feb4bdfd
C
18 port: 5432
19 suffix: '_dev'
55fa55a9
C
20 username: 'peertube'
21 password: 'peertube'
8c308c2b 22
94a5ff8a
C
23redis:
24 hostname: 'localhost'
25 port: 6379
26 auth: null
27
ecb4e35f
C
28smtp:
29 hostname: null
30 port: 465
31 username: null
32 password: null
33 tls: true
bebf2d89 34 disable_starttls: false
ecb4e35f
C
35 ca_file: null # Used for self signed certificates
36 from_address: 'admin@example.com'
37
8c308c2b
C
38# From the project root directory
39storage:
6b2ef589 40 avatars: 'storage/avatars/'
6b2ef589
C
41 videos: 'storage/videos/'
42 logs: 'storage/logs/'
43 previews: 'storage/previews/'
44 thumbnails: 'storage/thumbnails/'
45 torrents: 'storage/torrents/'
46 cache: 'storage/cache/'
f981dae8 47
23e27dd5 48log:
a0922eb9 49 level: 'info' # debug/info/warning/error
23e27dd5 50
f981dae8
C
51cache:
52 previews:
53 size: 1 # Max number of previews you want to cache
4793c343
C
54
55admin:
ecb4e35f 56 email: 'admin@example.com' # Your personal email as administrator
e22528ac
C
57
58signup:
59 enabled: false
291e8d3e 60 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
227d02fe 61
b0f9f39e
C
62user:
63 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
64 # -1 == unlimited
65 video_quota: -1
66
227d02fe 67# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
40298b02
C
68# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions.
69# Uses a lot of CPU and increases storage!
227d02fe 70transcoding:
1125c40a 71 enabled: true
98f535a5 72 threads: 1
40298b02 73 resolutions: # Only created if the original video has a higher resolution
1125c40a
C
74 240p: false
75 360p: false
76 480p: false
77 720p: false
78 1080p: false
66b16caf
C
79
80instance:
81 name: 'PeerTube'
2e3a0215 82 short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.'
bf874e33
C
83 description: 'Welcome to this PeerTube instance!' # Support markdown
84 terms: 'No terms for now.' # Support markdown
901637bb 85 default_client_route: '/videos/trending'
00b5556c
C
86 customizations:
87 javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
88 css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime