X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=config%2Fproduction.yaml.example;h=e476bbcfa03e0da4d579415f902092a105c84bae;hb=1185c246c591a0783dc0ab268bbd67eba1d46bb9;hp=f99c8927ecaf4b5c6c5f3310108447117ef105b0;hpb=14d3270f363245d2c83fcc2ac109e39743b5627e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/config/production.yaml.example b/config/production.yaml.example index f99c8927e..e476bbcfa 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -3,9 +3,9 @@ listen: # Correspond to your reverse proxy "listen" configuration webserver: - https: false + https: true hostname: 'example.com' - port: 80 + port: 443 # Your database name will be "peertube"+database.suffix database: @@ -15,19 +15,36 @@ database: username: 'peertube' password: 'peertube' +redis: + hostname: 'localhost' + port: 6379 + auth: null + +smtp: + hostname: null + port: 465 + username: null + password: null + tls: true + ca_file: null # Used for self signed certificates + from_address: 'admin@example.com' + # From the project root directory storage: - certs: 'certs/' - videos: 'videos/' - logs: 'logs/' - previews: 'previews/' - thumbnails: 'thumbnails/' - torrents: 'torrents/' - cache: 'cache/' + avatars: '/var/www/peertube/storage/avatars/' + videos: '/var/www/peertube/storage/videos/' + logs: '/var/www/peertube/storage/logs/' + previews: '/var/www/peertube/storage/previews/' + thumbnails: '/var/www/peertube/storage/thumbnails/' + torrents: '/var/www/peertube/storage/torrents/' + cache: '/var/www/peertube/storage/cache/' + +log: + level: 'debug' # debug/info/warning/error cache: previews: - size: 1 # Max number of previews you want to cache + size: 100 # Max number of previews you want to cache admin: email: 'admin@example.com' @@ -52,3 +69,8 @@ transcoding: 480p: true 720p: true 1080p: true + +instance: + name: 'PeerTube' + description: '' # Support markdown + terms: '' # Support markdown