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