]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - config/production.yaml.example
Prepare building docker files on docker hub
[github/Chocobozzz/PeerTube.git] / config / production.yaml.example
1 listen:
2 port: 9000
3
4 # Correspond to your reverse proxy "listen" configuration
5 webserver:
6 https: true
7 hostname: 'example.com'
8 port: 443
9
10 # Your database name will be "peertube"+database.suffix
11 database:
12 hostname: 'localhost'
13 port: 5432
14 suffix: '_prod'
15 username: 'peertube'
16 password: 'peertube'
17
18 # Redis server for short time storage
19 redis:
20 hostname: 'localhost'
21 port: 6379
22 auth: null
23
24 # SMTP server to send emails
25 smtp:
26 hostname: null
27 port: 465
28 username: null
29 password: null
30 tls: true
31 disable_starttls: false
32 ca_file: null # Used for self signed certificates
33 from_address: 'admin@example.com'
34
35 # From the project root directory
36 storage:
37 avatars: '/var/www/peertube/storage/avatars/'
38 videos: '/var/www/peertube/storage/videos/'
39 logs: '/var/www/peertube/storage/logs/'
40 previews: '/var/www/peertube/storage/previews/'
41 thumbnails: '/var/www/peertube/storage/thumbnails/'
42 torrents: '/var/www/peertube/storage/torrents/'
43 cache: '/var/www/peertube/storage/cache/'
44
45 log:
46 level: 'info' # debug/info/warning/error
47
48
49 ###############################################################################
50 #
51 # From this point, all the following keys can be overriden by the web interface
52 # (local-production.json file). If you need to change some values, prefer to
53 # use the web interface because the configuration will be automatically
54 # reloaded without any need to restart PeerTube.
55 #
56 # /!\ If you already have a local-production.json file, the modification of the
57 # following keys will have no effect /!\.
58 #
59 ###############################################################################
60
61 cache:
62 previews:
63 size: 100 # Max number of previews you want to cache
64
65 admin:
66 email: 'admin@example.com'
67
68 signup:
69 enabled: false
70 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
71
72 user:
73 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
74 # -1 == unlimited
75 video_quota: -1
76
77 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
78 # Uses a lot of CPU!
79 transcoding:
80 enabled: true
81 threads: 1
82 resolutions: # Only created if the original video has a higher resolution
83 240p: false
84 360p: false
85 480p: false
86 720p: false
87 1080p: false
88
89 # Instance settings
90 instance:
91 name: 'PeerTube'
92 short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.'
93 description: '' # Support markdown
94 terms: '' # Support markdown
95 default_client_route: '/videos/trending'
96 customizations:
97 javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
98 css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime