X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=config%2Ftest.yaml;h=9a522a983819fe80d3148de551ac3065a2c9300a;hb=b0c43e36dbdc2c964f6828a78b146faebfb75b21;hp=9c051fabc45f3bfa09ea818ccd94832a85f46448;hpb=54b3316099ed7d2dfcb6d708fdb686f1e125ce61;p=github%2FChocobozzz%2FPeerTube.git diff --git a/config/test.yaml b/config/test.yaml index 9c051fabc..9a522a983 100644 --- a/config/test.yaml +++ b/config/test.yaml @@ -5,10 +5,24 @@ listen: webserver: https: false +rates_limit: + signup: + window: 10 minutes + max: 50 + login: + window: 5 minutes + max: 20 + api: + window: 10 seconds + max: 500 + database: hostname: 'localhost' port: 5432 +redis: + hostname: 'localhost' + smtp: hostname: null port: 1025 @@ -21,20 +35,27 @@ smtp: log: level: 'debug' +contact_form: + enabled: true + +peertube: + check_latest_version: + enabled: false + redundancy: videos: - check_interval: '10 minutes' + check_interval: '1 minute' strategies: - - size: '10MB' + size: '1000MB' min_lifetime: '10 minutes' strategy: 'most-views' - - size: '10MB' + size: '1000MB' min_lifetime: '10 minutes' strategy: 'trending' - - size: '10MB' + size: '1000MB' min_lifetime: '10 minutes' strategy: 'recently-added' min_views: 1 @@ -44,6 +65,8 @@ cache: size: 1 captions: size: 1 + torrents: + size: 1 signup: enabled: true @@ -51,20 +74,90 @@ signup: transcoding: enabled: true + allow_additional_extensions: false + allow_audio_files: false threads: 2 + concurrency: 2 resolutions: + 0p: 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: false + threads: 2 + + resolutions: + 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 instance: - default_nsfw_policy: 'display' \ No newline at end of file + default_nsfw_policy: 'display' + +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 + +views: + videos: + remote: + max_age: -1