X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=config%2Fdefault.yaml;h=a97d3ff78e7bab3d0007f3b297d679a2463614e5;hb=291e8d3eed88fe714fb74ad897ac2c67347a85ff;hp=90f4b94665785fd419e0df5ed8660840b7d7a5b1;hpb=6a94a109b4b89a97fe7bfeded3125fb7aad2ac3b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/config/default.yaml b/config/default.yaml index 90f4b9466..a97d3ff78 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -6,10 +6,13 @@ webserver: hostname: 'localhost' port: 9000 +# Your database name will be "peertube"+database.suffix database: hostname: 'localhost' - port: 27017 - suffix: '-dev' + port: 5432 + suffix: '_dev' + username: 'peertube' + password: 'peertube' # From the project root directory storage: @@ -19,3 +22,21 @@ storage: previews: 'previews/' thumbnails: 'thumbnails/' torrents: 'torrents/' + cache: 'cache/' + +cache: + previews: + size: 1 # Max number of previews you want to cache + +admin: + email: 'admin@example.com' + +signup: + enabled: false + limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited + +# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag +# Uses a lot of CPU! +transcoding: + enabled: false + threads: 2