X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=config%2Ftest.yaml;h=361064af1e39816a33a470c5fa4a2d6d90285f40;hb=ce722c0f0fe081ce3308b857158810def93f161e;hp=3ab391504d0e14ebb1a592e5ecca1106d71d211b;hpb=3a149e9f8b2e99507c72792b80cee3a90df003b2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/config/test.yaml b/config/test.yaml index 3ab391504..361064af1 100644 --- a/config/test.yaml +++ b/config/test.yaml @@ -1,10 +1,14 @@ listen: - hostname: '0.0.0.0' + hostname: '::' port: 9000 webserver: + hostname: '127.0.0.1' https: false +secrets: + peertube: 'my super secret' + rates_limit: signup: window: 10 minutes @@ -17,41 +21,47 @@ rates_limit: max: 500 database: - hostname: 'localhost' + hostname: '127.0.0.1' port: 5432 redis: - hostname: 'localhost' + hostname: '127.0.0.1' smtp: hostname: null port: 1025 tls: false disable_starttls: true - from_address: 'test-admin@localhost' + from_address: 'test-admin@127.0.0.1' username: null password: null log: level: 'debug' + rotation: + max_file_size: 50MB 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 @@ -61,9 +71,12 @@ cache: size: 1 captions: size: 1 + torrents: + size: 1 signup: enabled: true + requires_approval: false requires_email_verification: false transcoding: @@ -71,19 +84,47 @@ 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: 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 torrent: @@ -95,3 +136,27 @@ instance: plugins: index: check_latest_versions_interval: '10 minutes' + +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