2015-06-09 18:41:40 +03:00
|
|
|
listen:
|
2018-10-08 11:56:05 +03:00
|
|
|
hostname: '0.0.0.0'
|
2015-06-09 18:41:40 +03:00
|
|
|
port: 9000
|
|
|
|
|
|
|
|
webserver:
|
|
|
|
https: false
|
|
|
|
|
2019-07-04 17:42:40 +03:00
|
|
|
rates_limit:
|
|
|
|
signup:
|
|
|
|
window: 10 minutes
|
|
|
|
max: 50
|
|
|
|
login:
|
|
|
|
window: 5 minutes
|
|
|
|
max: 20
|
2019-07-04 18:22:24 +03:00
|
|
|
api:
|
|
|
|
window: 10 seconds
|
|
|
|
max: 500
|
2019-07-04 17:42:40 +03:00
|
|
|
|
2015-06-09 18:41:40 +03:00
|
|
|
database:
|
2016-10-23 20:41:17 +03:00
|
|
|
hostname: 'localhost'
|
2016-12-11 23:50:51 +03:00
|
|
|
port: 5432
|
2017-03-10 13:32:39 +03:00
|
|
|
|
2019-07-29 12:59:29 +03:00
|
|
|
redis:
|
|
|
|
hostname: 'localhost'
|
|
|
|
|
2018-01-30 17:16:24 +03:00
|
|
|
smtp:
|
|
|
|
hostname: null
|
|
|
|
port: 1025
|
|
|
|
tls: false
|
2018-03-22 18:12:52 +03:00
|
|
|
disable_starttls: true
|
2018-01-30 17:35:15 +03:00
|
|
|
from_address: 'test-admin@localhost'
|
2018-01-30 17:16:24 +03:00
|
|
|
username: null
|
|
|
|
password: null
|
|
|
|
|
2018-02-14 17:33:25 +03:00
|
|
|
log:
|
|
|
|
level: 'debug'
|
|
|
|
|
2019-01-09 17:14:29 +03:00
|
|
|
contact_form:
|
|
|
|
enabled: true
|
2020-11-06 17:14:48 +03:00
|
|
|
|
2021-03-11 18:54:52 +03:00
|
|
|
peertube:
|
|
|
|
check_latest_version:
|
|
|
|
enabled: false
|
|
|
|
|
2020-11-06 17:14:48 +03: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 17:27:07 +03:00
|
|
|
|
2018-07-25 16:11:06 +03:00
|
|
|
cache:
|
|
|
|
previews:
|
|
|
|
size: 1
|
|
|
|
captions:
|
|
|
|
size: 1
|
2021-02-18 13:07:08 +03:00
|
|
|
torrents:
|
|
|
|
size: 1
|
2018-07-25 16:11:06 +03:00
|
|
|
|
2017-03-10 13:32:39 +03:00
|
|
|
signup:
|
|
|
|
enabled: true
|
2018-08-31 10:18:19 +03:00
|
|
|
requires_email_verification: false
|
2017-10-06 11:40:09 +03:00
|
|
|
|
|
|
|
transcoding:
|
2018-01-09 17:29:05 +03:00
|
|
|
enabled: true
|
2018-12-11 16:52:50 +03:00
|
|
|
allow_additional_extensions: false
|
2019-05-16 17:55:34 +03:00
|
|
|
allow_audio_files: false
|
2018-01-09 17:29:05 +03:00
|
|
|
threads: 2
|
2021-02-08 12:51:10 +03:00
|
|
|
concurrency: 2
|
2018-02-26 12:00:44 +03:00
|
|
|
resolutions:
|
2019-11-22 13:43:17 +03:00
|
|
|
0p: false
|
2021-11-05 12:23:02 +03:00
|
|
|
144p: false
|
2018-02-26 12:00:44 +03:00
|
|
|
240p: true
|
|
|
|
360p: true
|
|
|
|
480p: true
|
|
|
|
720p: true
|
|
|
|
1080p: true
|
2020-12-24 20:02:04 +03:00
|
|
|
1440p: true
|
2019-06-06 15:45:57 +03:00
|
|
|
2160p: true
|
2021-04-06 09:41:18 +03:00
|
|
|
webtorrent:
|
|
|
|
enabled: true
|
2019-01-29 10:37:25 +03:00
|
|
|
hls:
|
|
|
|
enabled: true
|
2018-04-19 12:01:34 +03:00
|
|
|
|
2020-09-17 10:20:52 +03:00
|
|
|
live:
|
|
|
|
enabled: false
|
|
|
|
|
2021-01-29 16:56:40 +03:00
|
|
|
allow_replay: false
|
|
|
|
|
2020-09-17 10:20:52 +03:00
|
|
|
rtmp:
|
|
|
|
port: 1935
|
|
|
|
|
|
|
|
transcoding:
|
2020-09-25 17:19:35 +03:00
|
|
|
enabled: false
|
2020-09-17 10:20:52 +03:00
|
|
|
threads: 2
|
|
|
|
|
|
|
|
resolutions:
|
2021-11-05 12:23:02 +03:00
|
|
|
144p: false
|
2020-09-17 10:20:52 +03:00
|
|
|
240p: false
|
|
|
|
360p: false
|
|
|
|
480p: false
|
|
|
|
720p: false
|
|
|
|
1080p: false
|
2020-12-24 20:02:04 +03:00
|
|
|
1440p: false
|
2020-09-17 10:20:52 +03:00
|
|
|
2160p: false
|
|
|
|
|
2018-08-03 12:10:31 +03:00
|
|
|
import:
|
|
|
|
videos:
|
2021-02-08 12:51:10 +03:00
|
|
|
concurrency: 2
|
2018-08-03 12:10:31 +03:00
|
|
|
http:
|
|
|
|
enabled: true
|
2022-03-02 17:51:41 +03:00
|
|
|
youtube_dl_release:
|
|
|
|
url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
|
|
|
|
name: 'yt-dlp'
|
2018-08-07 11:07:53 +03:00
|
|
|
torrent:
|
|
|
|
enabled: true
|
2018-08-03 12:10:31 +03:00
|
|
|
|
2018-04-19 12:01:34 +03:00
|
|
|
instance:
|
2018-12-04 18:02:49 +03:00
|
|
|
default_nsfw_policy: 'display'
|
2019-07-25 11:44:21 +03:00
|
|
|
|
|
|
|
plugins:
|
|
|
|
index:
|
|
|
|
check_latest_versions_interval: '10 minutes'
|
2020-05-29 17:16:24 +03: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 17:39:45 +03:00
|
|
|
enabled: false
|
2020-05-29 17:16:24 +03: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 17:03:34 +03:00
|
|
|
|
|
|
|
federation:
|
|
|
|
videos:
|
|
|
|
federate_unlisted: true
|
2021-12-03 11:52:03 +03:00
|
|
|
cleanup_remote_interactions: false
|
2020-11-27 17:46:35 +03:00
|
|
|
|
|
|
|
views:
|
|
|
|
videos:
|
|
|
|
remote:
|
|
|
|
max_age: -1
|
2021-11-09 12:11:20 +03:00
|
|
|
|
|
|
|
local_buffer_update_interval: '5 seconds'
|
|
|
|
ip_view_expiration: '1 second'
|
2022-02-11 12:51:33 +03:00
|
|
|
|
2022-03-22 18:58:49 +03:00
|
|
|
video_studio:
|
2022-02-11 12:51:33 +03:00
|
|
|
enabled: true
|