production.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. listen:
  2. hostname: '0.0.0.0'
  3. port: 9000
  4. # Correspond to your reverse proxy "listen" configuration
  5. webserver:
  6. https: true
  7. hostname: undefined
  8. port: 443
  9. rates_limit:
  10. login:
  11. # 15 attempts in 5 min
  12. window: 5 minutes
  13. max: 15
  14. ask_send_email:
  15. # 3 attempts in 5 min
  16. window: 5 minutes
  17. max: 3
  18. # Proxies to trust to get real client IP
  19. # If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
  20. # If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)
  21. trust_proxy:
  22. - 'loopback'
  23. - 'linklocal'
  24. - 'uniquelocal'
  25. # Your database name will be database.name or "peertube"+database.suffix
  26. database:
  27. hostname: 'postgres'
  28. port: 5432
  29. ssl: false
  30. suffix: ''
  31. username: 'postgres'
  32. password: 'postgres'
  33. # Redis server for short time storage
  34. redis:
  35. hostname: 'redis'
  36. port: 6379
  37. auth: null
  38. # From the project root directory
  39. storage:
  40. tmp: '../data/tmp/'
  41. avatars: '../data/avatars/'
  42. videos: '../data/videos/'
  43. streaming_playlists: '../data/streaming-playlists'
  44. redundancy: '../data/redundancy/'
  45. logs: '../data/logs/'
  46. previews: '../data/previews/'
  47. thumbnails: '../data/thumbnails/'
  48. torrents: '../data/torrents/'
  49. captions: '../data/captions/'
  50. cache: '../data/cache/'
  51. plugins: '../data/plugins/'
  52. # Overridable client files : logo.svg, favicon.png and icons/*.png (PWA) in client/dist/assets/images
  53. # Could contain for example assets/images/favicon.png
  54. # If the file exists, peertube will serve it
  55. # If not, peertube will fallback to the default fil
  56. client_overrides: '../data/client-overrides/'
  57. log:
  58. level: 'info' # debug/info/warning/error
  59. tracker:
  60. enabled: true
  61. reject_too_many_announces: false # false because we have issues with traefik and ws ip/port forwarding
  62. admin:
  63. email: null