aboutsummaryrefslogblamecommitdiffhomepage
path: root/config/test.yaml
blob: d3e0e49ac77b40d4e12c3d44811f76a41eaafdbc (plain) (tree)
1
2
3
4
5
6
7
8
9
       
                   





              
                       
            
 



                
                        
                                      


                


                


           
                  
                            
     
                  
                          
     
                  
                                
                 
 





           

               
                                    

            

               





               
 



                   

                   
 

                               
listen:
  listen: '0.0.0.0'
  port: 9000

webserver:
  https: false

database:
  hostname: 'localhost'
  port: 5432

smtp:
  hostname: null
  port: 1025
  tls: false
  disable_starttls: true
  from_address: 'test-admin@localhost'
  username: null
  password: null

log:
  level: 'debug'

redundancy:
  videos:
    -
      size: '10MB'
      strategy: 'most-views'
    -
      size: '10MB'
      strategy: 'trending'
    -
      size: '10MB'
      strategy: 'recently-added'
      minViews: 1

cache:
  previews:
    size: 1
  captions:
    size: 1

signup:
  enabled: true
  requires_email_verification: false

transcoding:
  enabled: true
  threads: 2
  resolutions:
    240p: true
    360p: true
    480p: true
    720p: true
    1080p: true

import:
  videos:
    http:
      enabled: true
    torrent:
      enabled: true

instance:
  default_nsfw_policy: 'display'