Skip to content
Snippets Groups Projects
sample-cfg.yaml 1.26 KiB
Newer Older
  • Learn to ignore specific revisions
  • Christian Pointner's avatar
    Christian Pointner committed
    store:
    
      audio:
        format: flac
        sample-rate: 44100
    
      job-timeout: 10m ## defaults to 3h
    
      temp-path: "/tmp"
    
    ### uncomment to enable authentication
    
    # auth:
    #   sessions:
    #     ## defaults to 24h
    #     max-age: 12h
    #     static:
    #       engine:
    #         secret: ${AURA_ENGINE_SECRET}
    #         readonly: true
    
    #         allShows: true
    
    #   oidc:
    #     issuer-url: http://localhost:8000/openid
    #     client-id: ${OIDC_CLIENT_ID}
    #     client-secret: ${OIDC_CLIENT_SECRET}
    #     callback-url: http://localhost:8040/auth/oidc/callback
    #     login-timeout: 10m # defaults to 5 Minutes
    #   passwd:
    #     admin:
    #       password: ${ADMIN_PASSWORD}
    #       privileged: true
    #     hugo:
    #       password: changeme
    #       readonly: true
    #       shows:
    #         - hugo
    #         - yet-another-hugo-show
    
      ## one of:  stdout, stderr, file:/path/to/access.log
      access-logs: stdout
    
    
      ### uncomment to enable CORS headers
      ### see: https://godoc.org/github.com/rs/cors#Options
      # cors:
      #   allowed-origins: ['*']
      #   allowed-methods:
      #     - GET
      #     - PUT
      #     - POST
      #     - PATCH
      #     - DELETE
      #   allowed-headers: ['*']
      #   allow-credentials: true
      #   debug: true