PeerTube/config/test.yaml

172 lines
2.5 KiB
YAML
Raw Normal View History

2015-06-09 17:41:40 +02:00
listen:
2022-06-27 15:18:13 +02:00
hostname: '::'
2015-06-09 17:41:40 +02:00
port: 9000
webserver:
2022-12-09 11:14:47 +01:00
hostname: '127.0.0.1'
2015-06-09 17:41:40 +02:00
https: false
2022-10-10 11:12:23 +02:00
secrets:
peertube: 'my super secret'
rates_limit:
signup:
window: 10 minutes
max: 50
login:
window: 5 minutes
max: 20
2019-07-04 17:22:24 +02:00
api:
window: 10 seconds
max: 500
2015-06-09 17:41:40 +02:00
database:
2022-12-09 11:14:47 +01:00
hostname: '127.0.0.1'
2016-12-11 21:50:51 +01:00
port: 5432
2017-03-10 11:32:39 +01:00
2019-07-29 11:59:29 +02:00
redis:
2022-12-09 11:14:47 +01:00
hostname: '127.0.0.1'
2019-07-29 11:59:29 +02:00
2018-01-30 15:16:24 +01:00
smtp:
hostname: null
port: 1025
tls: false
2018-03-22 16:12:52 +01:00
disable_starttls: true
2022-12-09 11:14:47 +01:00
from_address: 'test-admin@127.0.0.1'
2018-01-30 15:16:24 +01:00
username: null
password: null
2018-02-14 15:33:25 +01:00
log:
level: 'debug'
rotation:
max_file_size: 50MB
2018-02-14 15:33:25 +01:00
2019-01-09 15:14:29 +01:00
contact_form:
enabled: true
2020-11-06 15:14:48 +01:00
2021-03-11 16:54:52 +01:00
peertube:
check_latest_version:
enabled: false
2020-11-06 15:14:48 +01: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 16:27:07 +02:00
2018-07-25 15:11:06 +02:00
cache:
previews:
size: 1
captions:
size: 1
torrents:
size: 1
2023-06-01 14:51:16 +02:00
storyboards:
size: 1
2018-07-25 15:11:06 +02:00
2017-03-10 11:32:39 +01:00
signup:
enabled: true
2023-01-19 09:27:16 +01:00
requires_approval: false
requires_email_verification: false
transcoding:
2018-01-09 15:29:05 +01:00
enabled: true
2018-12-11 14:52:50 +01:00
allow_additional_extensions: false
2019-05-16 16:55:34 +02:00
allow_audio_files: false
2018-01-09 15:29:05 +01:00
threads: 2
concurrency: 2
resolutions:
2019-11-22 11:43:17 +01:00
0p: false
144p: false
240p: true
360p: true
480p: true
720p: true
1080p: true
1440p: true
2160p: true
2023-07-11 09:52:14 +02:00
web_videos:
2021-04-06 08:41:18 +02:00
enabled: true
2019-01-29 08:37:25 +01:00
hls:
enabled: true
live:
enabled: false
allow_replay: false
rtmp:
port: 1935
transcoding:
2020-09-25 16:19:35 +02: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 11:10:31 +02:00
import:
videos:
concurrency: 2
2018-08-03 11:10:31 +02:00
http:
enabled: true
2018-08-07 10:07:53 +02:00
torrent:
enabled: true
2018-08-03 11:10:31 +02:00
instance:
2018-12-04 16:02:49 +01:00
default_nsfw_policy: 'display'
2019-07-25 10:44:21 +02:00
plugins:
index:
check_latest_versions_interval: '10 minutes'
2020-05-29 16:16:24 +02:00
2020-11-10 15:03:34 +01:00
federation:
videos:
2023-12-20 13:51:01 +01:00
federate_unlisted: true
cleanup_remote_interactions: false
views:
videos:
remote:
max_age: -1
local_buffer_update_interval: '5 seconds'
view_expiration: '1 second'
2022-02-11 10:51:33 +01:00
geo_ip:
enabled: false
2022-03-22 16:58:49 +01:00
video_studio:
2022-02-11 10:51:33 +01:00
enabled: true
open_telemetry:
metrics:
prometheus_exporter:
port: 9092
search:
search_index:
url: 'https://search.joinpeertube.org/'
2024-06-13 09:23:12 +02:00
video_transcription:
model: 'tiny'