]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - config/production.yaml.example
Add new name/terms/description config options
[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:
19 hostname: 'localhost'
20 port: 6379
21 auth: null
22
23 smtp:
24 hostname: null
25 port: 465
26 username: null
27 password: null
28 tls: true
29 ca_file: null # Used for self signed certificates
30 from_address: 'admin@example.com'
31
32 # From the project root directory
33 storage:
34 avatars: '/var/www/peertube/storage/avatars/'
35 videos: '/var/www/peertube/storage/videos/'
36 logs: '/var/www/peertube/storage/logs/'
37 previews: '/var/www/peertube/storage/previews/'
38 thumbnails: '/var/www/peertube/storage/thumbnails/'
39 torrents: '/var/www/peertube/storage/torrents/'
40 cache: '/var/www/peertube/storage/cache/'
41
42 log:
43 level: 'debug' # debug/info/warning/error
44
45 cache:
46 previews:
47 size: 100 # Max number of previews you want to cache
48
49 admin:
50 email: 'admin@example.com'
51
52 signup:
53 enabled: false
54 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
55
56 user:
57 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
58 # -1 == unlimited
59 video_quota: -1
60
61 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
62 # Uses a lot of CPU!
63 transcoding:
64 enabled: false
65 threads: 2
66 resolutions: # Only created if the original video has a higher resolution
67 240p: true
68 360p: true
69 480p: true
70 720p: true
71 1080p: true
72
73 instance:
74 name: 'PeerTube'
75 description: '' # Support markdown
76 terms: '' # Support markdown