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