mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-09-11 13:37:10 +03:00
* testing not removing old file and adding columb to db * implement feature * remove unnecessary config changes * use only keptOriginalFileName, change keptOriginalFileName to keptOriginalFilename for consistency with with videoFile table, slight refactor with basename() * save original video files to dedicated directory original-video-files * begin implementing object storage (bucket) support --------- Co-authored-by: chagai.friedlander <chagai.friedlander@fairkom.eu> Co-authored-by: Ian <ian.kraft@hotmail.com> Co-authored-by: Chocobozzz <me@florianbigard.com>
134 lines
1.9 KiB
YAML
134 lines
1.9 KiB
YAML
listen:
|
|
hostname: '::'
|
|
port: 9000
|
|
|
|
webserver:
|
|
https: false
|
|
|
|
secrets:
|
|
peertube: 'my super dev secret'
|
|
|
|
rates_limit:
|
|
api:
|
|
window: 10 seconds
|
|
max: 500
|
|
signup:
|
|
window: 5 minutes
|
|
max: 200
|
|
|
|
database:
|
|
hostname: '127.0.0.1'
|
|
port: 5432
|
|
|
|
redis:
|
|
hostname: '127.0.0.1'
|
|
|
|
smtp:
|
|
hostname: null
|
|
port: 1025
|
|
tls: false
|
|
disable_starttls: true
|
|
from_address: 'test-admin@localhost'
|
|
username: null
|
|
password: null
|
|
|
|
log:
|
|
level: 'debug'
|
|
|
|
open_telemetry:
|
|
metrics:
|
|
enabled: true
|
|
playback_stats_interval: '13 seconds'
|
|
|
|
contact_form:
|
|
enabled: true
|
|
|
|
peertube:
|
|
check_latest_version:
|
|
enabled: false
|
|
|
|
redundancy:
|
|
videos:
|
|
check_interval: '5 minutes'
|
|
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
|
|
|
|
cache:
|
|
previews:
|
|
size: 10
|
|
captions:
|
|
size: 10
|
|
torrents:
|
|
size: 10
|
|
|
|
signup:
|
|
enabled: true
|
|
requires_email_verification: false
|
|
|
|
live:
|
|
enabled: true
|
|
|
|
allow_replay: true
|
|
|
|
transcoding:
|
|
enabled: true
|
|
threads: 2
|
|
|
|
resolutions:
|
|
360p: true
|
|
720p: true
|
|
|
|
import:
|
|
videos:
|
|
concurrency: 2
|
|
http:
|
|
enabled: true
|
|
torrent:
|
|
enabled: true
|
|
video_channel_synchronization:
|
|
enabled: true
|
|
max_per_user: 10
|
|
check_interval: 5 minutes
|
|
videos_limit_per_synchronization: 3
|
|
|
|
instance:
|
|
default_nsfw_policy: 'display'
|
|
|
|
plugins:
|
|
index:
|
|
check_latest_versions_interval: '10 minutes'
|
|
|
|
federation:
|
|
videos:
|
|
cleanup_remote_interactions: false
|
|
|
|
views:
|
|
videos:
|
|
remote:
|
|
max_age: -1
|
|
|
|
watching_interval:
|
|
anonymous: '6 seconds'
|
|
users: '4 seconds'
|
|
|
|
geo_ip:
|
|
enabled: true
|
|
|
|
video_studio:
|
|
enabled: true
|
|
|
|
transcoding:
|
|
keep_original_file: false
|