X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=config%2Ftest.yaml;h=3ab391504d0e14ebb1a592e5ecca1106d71d211b;hb=c5c09c1e5017844027ef77785f2d0406fa6b7039;hp=879b6bdd43a35869cab8625449f9f4546a31e981;hpb=a84b8fa5cf6e4cafb841af3db9bdfcc9531c09a4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/config/test.yaml b/config/test.yaml index 879b6bdd4..3ab391504 100644 --- a/config/test.yaml +++ b/config/test.yaml @@ -1,14 +1,28 @@ listen: - listen: '0.0.0.0' + hostname: '0.0.0.0' port: 9000 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,6 +35,27 @@ smtp: log: level: 'debug' +contact_form: + enabled: true + +redundancy: + videos: + check_interval: '10 minutes' + strategies: + - + size: '10MB' + min_lifetime: '10 minutes' + strategy: 'most-views' + - + size: '10MB' + min_lifetime: '10 minutes' + strategy: 'trending' + - + size: '10MB' + min_lifetime: '10 minutes' + strategy: 'recently-added' + min_views: 1 + cache: previews: size: 1 @@ -29,16 +64,23 @@ cache: signup: enabled: true + requires_email_verification: false transcoding: enabled: true + allow_additional_extensions: false + allow_audio_files: false threads: 2 resolutions: + 0p: false 240p: true 360p: true 480p: true 720p: true 1080p: true + 2160p: true + hls: + enabled: true import: videos: @@ -48,4 +90,8 @@ import: 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'