]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - config/test.yaml
Add rate limit to registration and API endpoints
[github/Chocobozzz/PeerTube.git] / config / test.yaml
CommitLineData
8c308c2b 1listen:
87bc58e1 2 hostname: '0.0.0.0'
8c308c2b
C
3 port: 9000
4
5webserver:
6 https: false
7
c1340a6a
C
8rates_limit:
9 signup:
10 window: 10 minutes
11 max: 50
12 login:
13 window: 5 minutes
14 max: 20
15
8c308c2b 16database:
3737bbaf 17 hostname: 'localhost'
feb4bdfd 18 port: 5432
e22528ac 19
f076daa7
C
20smtp:
21 hostname: null
22 port: 1025
23 tls: false
bebf2d89 24 disable_starttls: true
31b5a255 25 from_address: 'test-admin@localhost'
f076daa7
C
26 username: null
27 password: null
28
a0922eb9
C
29log:
30 level: 'debug'
31
a4101923
C
32contact_form:
33 enabled: true
34
c48e82b5
C
35redundancy:
36 videos:
e5565833 37 check_interval: '10 minutes'
d9bdd007
C
38 strategies:
39 -
40 size: '10MB'
e5565833 41 min_lifetime: '10 minutes'
d9bdd007
C
42 strategy: 'most-views'
43 -
44 size: '10MB'
e5565833 45 min_lifetime: '10 minutes'
d9bdd007
C
46 strategy: 'trending'
47 -
48 size: '10MB'
e5565833 49 min_lifetime: '10 minutes'
d9bdd007 50 strategy: 'recently-added'
e5565833 51 min_views: 1
c48e82b5 52
f842e810
C
53cache:
54 previews:
55 size: 1
56 captions:
57 size: 1
58
e22528ac
C
59signup:
60 enabled: true
d9eaee39 61 requires_email_verification: false
aa8b6df4
C
62
63transcoding:
a22bfc3e 64 enabled: true
14e2014a 65 allow_additional_extensions: false
536598cf 66 allow_audio_files: false
a22bfc3e 67 threads: 2
1125c40a
C
68 resolutions:
69 240p: true
70 360p: true
71 480p: true
72 720p: true
73 1080p: true
ad3405d0 74 2160p: true
09209296
C
75 hls:
76 enabled: true
0883b324 77
5d08a6a7
C
78import:
79 videos:
80 http:
81 enabled: true
a84b8fa5
C
82 torrent:
83 enabled: true
5d08a6a7 84
0883b324 85instance:
6040f87d 86 default_nsfw_policy: 'display'