]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - config/default.yaml
Improve contributing guide
[github/Chocobozzz/PeerTube.git] / config / default.yaml
1 listen:
2 port: 9000
3
4 webserver:
5 https: false
6 hostname: 'localhost'
7 port: 9000
8
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)
12 trust_proxy:
13 - 'loopback'
14
15 # Your database name will be "peertube"+database.suffix
16 database:
17 hostname: 'localhost'
18 port: 5432
19 suffix: '_dev'
20 username: 'peertube'
21 password: 'peertube'
22
23 redis:
24 hostname: 'localhost'
25 port: 6379
26 auth: null
27
28 smtp:
29 hostname: null
30 port: 465
31 username: null
32 password: null
33 tls: true
34 disable_starttls: false
35 ca_file: null # Used for self signed certificates
36 from_address: 'admin@example.com'
37
38 # From the project root directory
39 storage:
40 avatars: 'storage/avatars/'
41 videos: 'storage/videos/'
42 logs: 'storage/logs/'
43 previews: 'storage/previews/'
44 thumbnails: 'storage/thumbnails/'
45 torrents: 'storage/torrents/'
46 cache: 'storage/cache/'
47
48 log:
49 level: 'info' # debug/info/warning/error
50
51 cache:
52 previews:
53 size: 1 # Max number of previews you want to cache
54
55 admin:
56 email: 'admin@example.com' # Your personal email as administrator
57
58 signup:
59 enabled: false
60 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
61
62 user:
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
67 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
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!
70 transcoding:
71 enabled: true
72 threads: 1
73 resolutions: # Only created if the original video has a higher resolution
74 240p: false
75 360p: false
76 480p: false
77 720p: false
78 1080p: false
79
80 instance:
81 name: 'PeerTube'
82 short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.'
83 description: 'Welcome to this PeerTube instance!' # Support markdown
84 terms: 'No terms for now.' # Support markdown
85 default_client_route: '/videos/trending'
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