default.json 2.9 KB

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