Add gitlab ci support
[oweals/peertube.git] / config / test.yaml
1 listen:
2   hostname: '0.0.0.0'
3   port: 9000
4
5 webserver:
6   https: false
7
8 rates_limit:
9   signup:
10     window: 10 minutes
11     max: 50
12   login:
13     window: 5 minutes
14     max: 20
15   api:
16     window: 10 seconds
17     max: 500
18
19 database:
20   hostname: 'localhost'
21   port: 5432
22
23 redis:
24   hostname: 'localhost'
25
26 smtp:
27   hostname: null
28   port: 1025
29   tls: false
30   disable_starttls: true
31   from_address: 'test-admin@localhost'
32   username: null
33   password: null
34
35 log:
36   level: 'debug'
37
38 contact_form:
39   enabled: true
40
41 redundancy:
42   videos:
43     check_interval: '10 minutes'
44     strategies:
45       -
46         size: '10MB'
47         min_lifetime: '10 minutes'
48         strategy: 'most-views'
49       -
50         size: '10MB'
51         min_lifetime: '10 minutes'
52         strategy: 'trending'
53       -
54         size: '10MB'
55         min_lifetime: '10 minutes'
56         strategy: 'recently-added'
57         min_views: 1
58
59 cache:
60   previews:
61     size: 1
62   captions:
63     size: 1
64
65 signup:
66   enabled: true
67   requires_email_verification: false
68
69 transcoding:
70   enabled: true
71   allow_additional_extensions: false
72   allow_audio_files: false
73   threads: 2
74   resolutions:
75     240p: true
76     360p: true
77     480p: true
78     720p: true
79     1080p: true
80     2160p: true
81   hls:
82     enabled: true
83
84 import:
85   videos:
86     http:
87       enabled: true
88     torrent:
89       enabled: true
90
91 instance:
92   default_nsfw_policy: 'display'
93
94 plugins:
95   index:
96     check_latest_versions_interval: '10 minutes'