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




              






                      


                      
 
         
                       
            
 



                
                        
                                      


                


                


               

           
                                


                    
                                  


                              
                                  


                            
                                  
                                  
                    
 





           

               
                                    

            
               
                                    
                          
            





               
               

                 
 



                   

                   
 
         
                                
listen:
  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

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

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
  captions:
    size: 1

signup:
  enabled: true
  requires_email_verification: false

transcoding:
  enabled: true
  allow_additional_extensions: false
  allow_audio_files: false
  threads: 2
  resolutions:
    240p: true
    360p: true
    480p: true
    720p: true
    1080p: true
    2160p: true
  hls:
    enabled: true

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

instance:
  default_nsfw_policy: 'display'