1
0
Fork 0
peertube/config/test.yaml

166 lines
3.2 KiB
YAML
Raw Normal View History

2015-06-09 15:41:40 +00:00
listen:
2018-10-08 08:56:05 +00:00
hostname: '0.0.0.0'
2015-06-09 15:41:40 +00:00
port: 9000
webserver:
https: false
rates_limit:
signup:
window: 10 minutes
max: 50
login:
window: 5 minutes
max: 20
2019-07-04 15:22:24 +00:00
api:
window: 10 seconds
max: 500
2015-06-09 15:41:40 +00:00
database:
hostname: 'localhost'
2016-12-11 20:50:51 +00:00
port: 5432
2017-03-10 10:32:39 +00:00
2019-07-29 09:59:29 +00:00
redis:
hostname: 'localhost'
2018-01-30 14:16:24 +00:00
smtp:
hostname: null
port: 1025
tls: false
2018-03-22 15:12:52 +00:00
disable_starttls: true
2018-01-30 14:35:15 +00:00
from_address: 'test-admin@localhost'
2018-01-30 14:16:24 +00:00
username: null
password: null
2018-02-14 14:33:25 +00:00
log:
level: 'debug'
2019-01-09 14:14:29 +00:00
contact_form:
enabled: true
2020-11-06 14:14:48 +00:00
2021-03-11 15:54:52 +00:00
peertube:
check_latest_version:
enabled: false
2020-11-06 14:14:48 +00:00
redundancy:
videos:
check_interval: '1 minute'
strategies:
-
size: '1000MB'
min_lifetime: '10 minutes'
strategy: 'most-views'
-
size: '1000MB'
min_lifetime: '10 minutes'
strategy: 'trending'
-
size: '1000MB'
min_lifetime: '10 minutes'
strategy: 'recently-added'
min_views: 1
2018-09-11 14:27:07 +00:00
2018-07-25 13:11:06 +00:00
cache:
previews:
size: 1
captions:
size: 1
torrents:
size: 1
2018-07-25 13:11:06 +00:00
2017-03-10 10:32:39 +00:00
signup:
enabled: true
requires_email_verification: false
transcoding:
2018-01-09 14:29:05 +00:00
enabled: true
2018-12-11 13:52:50 +00:00
allow_additional_extensions: false
2019-05-16 14:55:34 +00:00
allow_audio_files: false
2018-01-09 14:29:05 +00:00
threads: 2
concurrency: 2
resolutions:
2019-11-22 10:43:17 +00:00
0p: false
144p: false
240p: true
360p: true
480p: true
720p: true
1080p: true
1440p: true
2160p: true
2021-04-06 06:41:18 +00:00
webtorrent:
enabled: true
2019-01-29 07:37:25 +00:00
hls:
enabled: true
live:
enabled: false
allow_replay: false
rtmp:
port: 1935
transcoding:
2020-09-25 14:19:35 +00:00
enabled: false
threads: 2
resolutions:
144p: false
240p: false
360p: false
480p: false
720p: false
1080p: false
1440p: false
2160p: false
2018-08-03 09:10:31 +00:00
import:
videos:
concurrency: 2
2018-08-03 09:10:31 +00:00
http:
enabled: true
2018-08-07 08:07:53 +00:00
torrent:
enabled: true
2018-08-03 09:10:31 +00:00
instance:
2018-12-04 15:02:49 +00:00
default_nsfw_policy: 'display'
2019-07-25 08:44:21 +00:00
plugins:
index:
check_latest_versions_interval: '10 minutes'
2020-05-29 14:16:24 +00:00
search:
# Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
# If enabled, the associated group will be able to "escape" from the instance follows
# That means they will be able to follow channels, watch videos, list videos of non followed instances
remote_uri:
users: true
anonymous: false
# Use a third party index instead of your local index, only for search results
# Useful to discover content outside of your instance
search_index:
2020-06-09 14:39:45 +00:00
enabled: false
2020-05-29 14:16:24 +00:00
# URL of the search index, that should use the same search API and routes
# than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
# You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
# and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
url: 'http://localhost:3234'
# You can disable local search, so users only use the search index
disable_local_search: false
# If you did not disable local search, you can decide to use the search index by default
is_default_search: true
2020-11-10 14:03:34 +00:00
federation:
videos:
federate_unlisted: true
views:
videos:
remote:
max_age: -1
local_buffer_update_interval: '5 seconds'
ip_view_expiration: '1 second'