default.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. },
  35. "spotify": {
  36. "enabled": false,
  37. "clientId": "",
  38. "clientSecret": "",
  39. "rateLimit": 500,
  40. "requestTimeout": 5000,
  41. "retryAmount": 2
  42. },
  43. "soundcloud": {
  44. "rateLimit": 500,
  45. "requestTimeout": 5000,
  46. "retryAmount": 2
  47. },
  48. "recaptcha": {
  49. "enabled": false,
  50. "key": "",
  51. "secret": ""
  52. },
  53. "github": {
  54. "enabled": false,
  55. "client": "",
  56. "secret": "",
  57. "redirect_uri": ""
  58. },
  59. "discogs": {
  60. "enabled": false,
  61. "client": "",
  62. "secret": ""
  63. }
  64. },
  65. "cors": {
  66. "origin": ["http://localhost"]
  67. },
  68. "mail": {
  69. "from": "Musare <noreply@localhost>",
  70. "smtp": {
  71. "enabled": false,
  72. "host": "smtp.mailgun.org",
  73. "port": 587,
  74. "auth": {
  75. "user": "",
  76. "pass": ""
  77. },
  78. "secure": false
  79. }
  80. },
  81. "redis": {
  82. "url": "redis://redis:6379/0",
  83. "password": "PASSWORD"
  84. },
  85. "mongo": {
  86. "url": "mongodb://musare:OTHER_PASSWORD_HERE@mongo:27017/musare"
  87. },
  88. "blacklistedCommunityStationNames": ["musare"],
  89. "featuredPlaylists": [],
  90. "messages": {
  91. "accountRemoval": "Your account will be deactivated instantly and your data will shortly be deleted by an admin."
  92. },
  93. "christmas": false,
  94. "footerLinks": {
  95. "about": true,
  96. "team": true,
  97. "news": true,
  98. "GitHub": "https://github.com/Musare/Musare"
  99. },
  100. "shortcutOverrides": {},
  101. "registrationDisabled": false,
  102. "sendDataRequestEmails": true,
  103. "skipConfigVersionCheck": false,
  104. "skipDbDocumentsVersionCheck": false,
  105. "debug": {
  106. "stationIssue": false,
  107. "traceUnhandledPromises": false,
  108. "captureJobs": [],
  109. "git": {
  110. "remote": false,
  111. "remoteUrl": false,
  112. "branch": true,
  113. "latestCommit": true,
  114. "latestCommitShort": true
  115. },
  116. "version": true
  117. },
  118. "defaultLogging": {
  119. "hideType": ["INFO"],
  120. "blacklistedTerms": []
  121. },
  122. "customLoggingPerModule": {
  123. "migration": {
  124. "hideType": [],
  125. "blacklistedTerms": [
  126. "Ran job",
  127. "Running job",
  128. "Queuing job",
  129. "Pausing job",
  130. "is queued",
  131. "is re-queued",
  132. "Requeing"
  133. ]
  134. }
  135. },
  136. "experimental": {
  137. "weight_stations": {},
  138. "queue_autofill_skip_last_x_played": {},
  139. "queue_add_before_autofilled": [],
  140. "disable_youtube_search": false,
  141. "registration_email_whitelist": false,
  142. "changable_listen_mode": [],
  143. "media_session": false,
  144. "station_history": false,
  145. "soundcloud": false,
  146. "spotify": false
  147. },
  148. "configVersion": 12
  149. }