default.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. {
  2. "migration": false,
  3. "secret": "default",
  4. "port": 8080,
  5. "url": {
  6. "host": "localhost",
  7. "secure": false
  8. },
  9. "cookie": "SID",
  10. "sitename": "Musare",
  11. "apis": {
  12. "youtube": {
  13. "key": "",
  14. "rateLimit": 500,
  15. "requestTimeout": 5000,
  16. "retryAmount": 2,
  17. "quotas": [
  18. {
  19. "type": "QUERIES_PER_DAY",
  20. "title": "Queries Per Day",
  21. "limit": 10000
  22. },
  23. {
  24. "type": "QUERIES_PER_MINUTE",
  25. "title": "Queries Per Minute",
  26. "limit": 1800000
  27. },
  28. {
  29. "type": "QUERIES_PER_100_SECONDS",
  30. "title": "Queries Per 100 Seconds",
  31. "limit": 3000000
  32. }
  33. ],
  34. "maxPlaylistPages": 20
  35. },
  36. "spotify": {
  37. "enabled": false,
  38. "clientId": "",
  39. "clientSecret": "",
  40. "rateLimit": 500,
  41. "requestTimeout": 5000,
  42. "retryAmount": 2
  43. },
  44. "soundcloud": {
  45. "rateLimit": 500,
  46. "requestTimeout": 5000,
  47. "retryAmount": 2
  48. },
  49. "recaptcha": {
  50. "enabled": false,
  51. "key": "",
  52. "secret": ""
  53. },
  54. "github": {
  55. "enabled": false,
  56. "client": "",
  57. "secret": "",
  58. "redirect_uri": ""
  59. },
  60. "discogs": {
  61. "enabled": false,
  62. "client": "",
  63. "secret": ""
  64. }
  65. },
  66. "cors": {
  67. "origin": []
  68. },
  69. "mail": {
  70. "enabled": false,
  71. "from": "",
  72. "smtp": {
  73. "host": "",
  74. "port": 587,
  75. "auth": {
  76. "user": "",
  77. "pass": ""
  78. },
  79. "secure": false
  80. }
  81. },
  82. "redis": {
  83. "url": "redis://redis:6379/0",
  84. "password": "PASSWORD"
  85. },
  86. "mongo": {
  87. "user": "musare",
  88. "password": "OTHER_PASSWORD_HERE",
  89. "host": "mongo",
  90. "port": 27017,
  91. "database": "musare"
  92. },
  93. "blacklistedCommunityStationNames": ["musare"],
  94. "featuredPlaylists": [],
  95. "messages": {
  96. "accountRemoval": "Your account will be deactivated instantly and your data will shortly be deleted by an admin."
  97. },
  98. "christmas": false,
  99. "footerLinks": {
  100. "about": true,
  101. "team": true,
  102. "news": true,
  103. "GitHub": "https://github.com/Musare/Musare"
  104. },
  105. "shortcutOverrides": {},
  106. "registrationDisabled": false,
  107. "sendDataRequestEmails": true,
  108. "skipConfigVersionCheck": false,
  109. "skipDbDocumentsVersionCheck": false,
  110. "debug": {
  111. "stationIssue": false,
  112. "traceUnhandledPromises": false,
  113. "captureJobs": [],
  114. "git": {
  115. "remote": false,
  116. "remoteUrl": false,
  117. "branch": true,
  118. "latestCommit": true,
  119. "latestCommitShort": true
  120. },
  121. "version": true
  122. },
  123. "defaultLogging": {
  124. "hideType": ["INFO"],
  125. "blacklistedTerms": []
  126. },
  127. "customLoggingPerModule": {
  128. "migration": {
  129. "hideType": [],
  130. "blacklistedTerms": [
  131. "Ran job",
  132. "Running job",
  133. "Queuing job",
  134. "Pausing job",
  135. "is queued",
  136. "is re-queued",
  137. "Requeing"
  138. ]
  139. }
  140. },
  141. "experimental": {
  142. "weight_stations": {},
  143. "queue_autofill_skip_last_x_played": {},
  144. "queue_add_before_autofilled": [],
  145. "disable_youtube_search": false,
  146. "registration_email_whitelist": false,
  147. "changable_listen_mode": [],
  148. "media_session": false,
  149. "station_history": false,
  150. "soundcloud": false,
  151. "spotify": false
  152. },
  153. "configVersion": 12
  154. }