Add account avatar
[oweals/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: 'avatars/'
21   certs: 'certs/'
22   videos: 'videos/'
23   logs: 'logs/'
24   previews: 'previews/'
25   thumbnails: 'thumbnails/'
26   torrents: 'torrents/'
27   cache: 'cache/'
28
29 cache:
30   previews:
31     size: 100 # Max number of previews you want to cache
32
33 admin:
34   email: 'admin@example.com'
35
36 signup:
37   enabled: false
38   limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
39
40 user:
41   # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
42   # -1 == unlimited
43   video_quota: -1
44
45 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
46 # Uses a lot of CPU!
47 transcoding:
48   enabled: false
49   threads: 2
50   resolutions: # Only created if the original video has a higher resolution
51     240p: true
52     360p: true
53     480p: true
54     720p: true
55     1080p: true