default.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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": 1000
  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": [
  95. "musare"
  96. ],
  97. "messages": {
  98. "accountRemoval": "Your account will be deactivated instantly and your data will shortly be deleted by an admin."
  99. },
  100. "christmas": false,
  101. "footerLinks": {
  102. "about": true,
  103. "team": true,
  104. "news": true,
  105. "GitHub": "https://github.com/Musare/Musare"
  106. },
  107. "primaryColor": "#03a9f4",
  108. "shortcutOverrides": {},
  109. "registrationDisabled": false,
  110. "sendDataRequestEmails": true,
  111. "skipConfigVersionCheck": false,
  112. "skipDbDocumentsVersionCheck": false,
  113. "debug": {
  114. "stationIssue": false,
  115. "traceUnhandledPromises": false,
  116. "captureJobs": [],
  117. "git": {
  118. "remote": false,
  119. "remoteUrl": false,
  120. "branch": true,
  121. "latestCommit": true,
  122. "latestCommitShort": true
  123. },
  124. "version": true
  125. },
  126. "defaultLogging": {
  127. "hideType": [
  128. "INFO"
  129. ],
  130. "blacklistedTerms": []
  131. },
  132. "customLoggingPerModule": {
  133. "migration": {
  134. "hideType": [],
  135. "blacklistedTerms": [
  136. "Ran job",
  137. "Running job",
  138. "Queuing job",
  139. "Pausing job",
  140. "is queued",
  141. "is re-queued",
  142. "Requeing"
  143. ]
  144. }
  145. },
  146. "experimental": {
  147. "weight_stations": {},
  148. "queue_autofill_skip_last_x_played": {},
  149. "queue_add_before_autofilled": [],
  150. "disable_youtube_search": false,
  151. "registration_email_whitelist": false,
  152. "changable_listen_mode": [],
  153. "media_session": false,
  154. "station_history": false,
  155. "soundcloud": false,
  156. "spotify": false
  157. }
  158. }