ニジカ投稿局 https://tv.nizika.tv
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

production.yaml 2.4 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. listen:
  2. hostname: '0.0.0.0'
  3. port: 9000
  4. # Correspond to your reverse proxy server_name/listen configuration (i.e., your public PeerTube instance URL)
  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/' # Use to download data (imports etc), store uploaded files before and during processing...
  41. tmp_persistent: '../data/tmp-persistent/' # As tmp but the directory is not cleaned up between PeerTube restarts
  42. bin: '../data/bin/'
  43. avatars: '../data/avatars/'
  44. web_videos: '../data/web-videos/'
  45. streaming_playlists: '../data/streaming-playlists'
  46. redundancy: '../data/redundancy/'
  47. logs: '../data/logs/'
  48. previews: '../data/previews/'
  49. thumbnails: '../data/thumbnails/'
  50. storyboards: '../data/storyboards/'
  51. torrents: '../data/torrents/'
  52. captions: '../data/captions/'
  53. cache: '../data/cache/'
  54. plugins: '../data/plugins/'
  55. well_known: '../data/well-known/'
  56. # Overridable client files in client/dist/assets/images :
  57. # - logo.svg
  58. # - favicon.png
  59. # - default-playlist.jpg
  60. # - default-avatar-account.png
  61. # - default-avatar-video-channel.png
  62. # - and icons/*.png (PWA)
  63. # Could contain for example assets/images/favicon.png
  64. # If the file exists, peertube will serve it
  65. # If not, peertube will fallback to the default fil
  66. client_overrides: '../data/client-overrides/'
  67. object_storage:
  68. upload_acl:
  69. public: null # Set to null here because we can't using env variables
  70. private: null
  71. log:
  72. level: 'info' # 'debug' | 'info' | 'warn' | 'error'
  73. tracker:
  74. enabled: true
  75. reject_too_many_announces: false # false because we have issues with docker ws ip/port forwarding
  76. admin:
  77. email: null