]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - config/production.yaml.example
Fix tests
[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 # From the project root directory
19 storage:
20 avatars: '/var/www/peertube/storage/avatars/'
21 videos: '/var/www/peertube/storage/videos/'
22 logs: '/var/www/peertube/storage/logs/'
23 previews: '/var/www/peertube/storage/previews/'
24 thumbnails: '/var/www/peertube/storage/thumbnails/'
25 torrents: '/var/www/peertube/storage/torrents/'
26 cache: '/var/www/peertube/storage/cache/'
27
28 log:
29 level: 'debug' # debug/info/warning/error
30
31 cache:
32 previews:
33 size: 100 # Max number of previews you want to cache
34
35 admin:
36 email: 'admin@example.com'
37
38 signup:
39 enabled: false
40 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
41
42 user:
43 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
44 # -1 == unlimited
45 video_quota: -1
46
47 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
48 # Uses a lot of CPU!
49 transcoding:
50 enabled: false
51 threads: 2
52 resolutions: # Only created if the original video has a higher resolution
53 240p: true
54 360p: true
55 480p: true
56 720p: true
57 1080p: true