]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - config/test.yaml
Add latency setting support
[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 peertube:
42 check_latest_version:
43 enabled: false
44
45 redundancy:
46 videos:
47 check_interval: '1 minute'
48 strategies:
49 -
50 size: '1000MB'
51 min_lifetime: '10 minutes'
52 strategy: 'most-views'
53 -
54 size: '1000MB'
55 min_lifetime: '10 minutes'
56 strategy: 'trending'
57 -
58 size: '1000MB'
59 min_lifetime: '10 minutes'
60 strategy: 'recently-added'
61 min_views: 1
62
63 cache:
64 previews:
65 size: 1
66 captions:
67 size: 1
68 torrents:
69 size: 1
70
71 signup:
72 enabled: true
73 requires_email_verification: false
74
75 transcoding:
76 enabled: true
77 allow_additional_extensions: false
78 allow_audio_files: false
79 threads: 2
80 concurrency: 2
81 resolutions:
82 0p: false
83 144p: false
84 240p: true
85 360p: true
86 480p: true
87 720p: true
88 1080p: true
89 1440p: true
90 2160p: true
91 webtorrent:
92 enabled: true
93 hls:
94 enabled: true
95
96 live:
97 enabled: false
98
99 allow_replay: false
100
101 rtmp:
102 port: 1935
103
104 transcoding:
105 enabled: false
106 threads: 2
107
108 resolutions:
109 144p: false
110 240p: false
111 360p: false
112 480p: false
113 720p: false
114 1080p: false
115 1440p: false
116 2160p: false
117
118 import:
119 videos:
120 concurrency: 2
121 http:
122 enabled: true
123 youtube_dl_release:
124 url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
125 name: 'yt-dlp'
126 torrent:
127 enabled: true
128
129 instance:
130 default_nsfw_policy: 'display'
131
132 plugins:
133 index:
134 check_latest_versions_interval: '10 minutes'
135
136 search:
137 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
138 # If enabled, the associated group will be able to "escape" from the instance follows
139 # That means they will be able to follow channels, watch videos, list videos of non followed instances
140 remote_uri:
141 users: true
142 anonymous: false
143
144 # Use a third party index instead of your local index, only for search results
145 # Useful to discover content outside of your instance
146 search_index:
147 enabled: false
148 # URL of the search index, that should use the same search API and routes
149 # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
150 # You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
151 # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
152 url: 'http://localhost:3234'
153 # You can disable local search, so users only use the search index
154 disable_local_search: false
155 # If you did not disable local search, you can decide to use the search index by default
156 is_default_search: true
157
158 federation:
159 videos:
160 federate_unlisted: true
161 cleanup_remote_interactions: false
162
163 views:
164 videos:
165 remote:
166 max_age: -1
167
168 local_buffer_update_interval: '5 seconds'
169 ip_view_expiration: '1 second'
170
171 video_editor:
172 enabled: true