Update production example configuration
[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: false
7   hostname: 'example.com'
8   port: 80
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   certs: 'certs/'
21   videos: 'videos/'
22   logs: 'logs/'
23   previews: 'previews/'
24   thumbnails: 'thumbnails/'
25   torrents: 'torrents/'
26   cache: 'cache/'
27
28 cache:
29   previews:
30     size: 1 # Max number of previews you want to cache
31
32 admin:
33   email: 'admin@example.com'
34
35 signup:
36   enabled: false
37   limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
38
39 # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
40 # Uses a lot of CPU!
41 transcoding:
42   enabled: false
43   threads: 2