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