X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=config%2Ftest.yaml;h=48cf0c0f679cc95d35225f89f3347aee1b365008;hb=9d3312faf6081ddd27b9ceb6bf84641d11337aed;hp=865ed540087e1dc3259f1452f33d25c856bc1b7d;hpb=a5cf76afa378aae81af2a9b0ce548e5d2582f832;p=github%2FChocobozzz%2FPeerTube.git diff --git a/config/test.yaml b/config/test.yaml index 865ed5400..48cf0c0f6 100644 --- a/config/test.yaml +++ b/config/test.yaml @@ -1,10 +1,13 @@ listen: - hostname: '0.0.0.0' + hostname: '::' port: 9000 webserver: https: false +secrets: + peertube: 'my super secret' + rates_limit: signup: window: 10 minutes @@ -37,30 +40,36 @@ log: contact_form: enabled: true -# -#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 + +peertube: + check_latest_version: + enabled: false + +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 cache: previews: size: 1 captions: size: 1 + torrents: + size: 1 signup: enabled: true @@ -71,42 +80,49 @@ transcoding: allow_additional_extensions: false allow_audio_files: false threads: 2 + concurrency: 2 resolutions: 0p: false + 144p: false 240p: true 360p: true 480p: true 720p: true 1080p: true + 1440p: true 2160p: true + webtorrent: + enabled: true hls: enabled: true live: enabled: false + allow_replay: false + rtmp: port: 1935 transcoding: - enabled: true + enabled: false threads: 2 resolutions: + 144p: false 240p: false 360p: false 480p: false 720p: false 1080p: false + 1440p: false 2160p: false import: videos: + concurrency: 2 http: enabled: true - proxy: - enabled: false - url: "" torrent: enabled: true @@ -117,24 +133,26 @@ plugins: index: check_latest_versions_interval: '10 minutes' -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: - enabled: false - # 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 +federation: + videos: + federate_unlisted: true + cleanup_remote_interactions: false + +views: + videos: + remote: + max_age: -1 + + local_buffer_update_interval: '5 seconds' + ip_view_expiration: '1 second' + +geo_ip: + enabled: false + +video_studio: + enabled: true + +open_telemetry: + metrics: + prometheus_exporter: + port: 9092