]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - config/test.yaml
Allow to specify transcoding and import jobs concurrency
[github/Chocobozzz/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: '1 minute'
44 strategies:
45 -
46 size: '1000MB'
47 min_lifetime: '10 minutes'
48 strategy: 'most-views'
49 -
50 size: '1000MB'
51 min_lifetime: '10 minutes'
52 strategy: 'trending'
53 -
54 size: '1000MB'
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 concurrency: 2
75 resolutions:
76 0p: false
77 240p: true
78 360p: true
79 480p: true
80 720p: true
81 1080p: true
82 1440p: true
83 2160p: true
84 hls:
85 enabled: true
86
87 live:
88 enabled: false
89
90 allow_replay: false
91
92 rtmp:
93 port: 1935
94
95 transcoding:
96 enabled: false
97 threads: 2
98
99 resolutions:
100 240p: false
101 360p: false
102 480p: false
103 720p: false
104 1080p: false
105 1440p: false
106 2160p: false
107
108 import:
109 videos:
110 concurrency: 2
111 http:
112 enabled: true
113 proxy:
114 enabled: false
115 url: ""
116 torrent:
117 enabled: true
118
119 instance:
120 default_nsfw_policy: 'display'
121
122 plugins:
123 index:
124 check_latest_versions_interval: '10 minutes'
125
126 search:
127 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
128 # If enabled, the associated group will be able to "escape" from the instance follows
129 # That means they will be able to follow channels, watch videos, list videos of non followed instances
130 remote_uri:
131 users: true
132 anonymous: false
133
134 # Use a third party index instead of your local index, only for search results
135 # Useful to discover content outside of your instance
136 search_index:
137 enabled: false
138 # URL of the search index, that should use the same search API and routes
139 # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
140 # You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
141 # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
142 url: 'http://localhost:3234'
143 # You can disable local search, so users only use the search index
144 disable_local_search: false
145 # If you did not disable local search, you can decide to use the search index by default
146 is_default_search: true
147
148 federation:
149 videos:
150 federate_unlisted: true
151
152 views:
153 videos:
154 remote:
155 max_age: -1