default.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. {
  2. "configVersion": 12,
  3. "migration": false,
  4. "secret": "default",
  5. "port": 8080,
  6. "url": {
  7. "host": "localhost",
  8. "secure": false
  9. },
  10. "cookie": "SID",
  11. "sitename": "Musare",
  12. "apis": {
  13. "youtube": {
  14. "key": "",
  15. "rateLimit": 500,
  16. "requestTimeout": 5000,
  17. "retryAmount": 2,
  18. "quotas": [
  19. {
  20. "type": "QUERIES_PER_DAY",
  21. "title": "Queries Per Day",
  22. "limit": 10000
  23. },
  24. {
  25. "type": "QUERIES_PER_MINUTE",
  26. "title": "Queries Per Minute",
  27. "limit": 1800000
  28. },
  29. {
  30. "type": "QUERIES_PER_100_SECONDS",
  31. "title": "Queries Per 100 Seconds",
  32. "limit": 3000000
  33. }
  34. ],
  35. "maxPlaylistPages": 20
  36. },
  37. "spotify": {
  38. "enabled": false,
  39. "clientId": "",
  40. "clientSecret": "",
  41. "rateLimit": 500,
  42. "requestTimeout": 5000,
  43. "retryAmount": 2
  44. },
  45. "soundcloud": {
  46. "rateLimit": 500,
  47. "requestTimeout": 5000,
  48. "retryAmount": 2
  49. },
  50. "recaptcha": {
  51. "enabled": false,
  52. "key": "",
  53. "secret": ""
  54. },
  55. "github": {
  56. "enabled": false,
  57. "client": "",
  58. "secret": "",
  59. "redirect_uri": ""
  60. },
  61. "discogs": {
  62. "enabled": false,
  63. "client": "",
  64. "secret": ""
  65. }
  66. },
  67. "cors": {
  68. "origin": []
  69. },
  70. "mail": {
  71. "enabled": false,
  72. "from": "",
  73. "smtp": {
  74. "host": "",
  75. "port": 587,
  76. "auth": {
  77. "user": "",
  78. "pass": ""
  79. },
  80. "secure": false
  81. }
  82. },
  83. "redis": {
  84. "url": "redis://redis:6379/0",
  85. "password": "PASSWORD"
  86. },
  87. "mongo": {
  88. "user": "musare",
  89. "password": "OTHER_PASSWORD_HERE",
  90. "host": "mongo",
  91. "port": 27017,
  92. "database": "musare"
  93. },
  94. "blacklistedCommunityStationNames": ["musare"],
  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. }