default.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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": ["http://localhost"]
  68. },
  69. "mail": {
  70. "from": "Musare <noreply@localhost>",
  71. "smtp": {
  72. "enabled": false,
  73. "host": "smtp.mailgun.org",
  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. "url": "mongodb://musare:OTHER_PASSWORD_HERE@mongo:27017/musare"
  88. },
  89. "blacklistedCommunityStationNames": ["musare"],
  90. "featuredPlaylists": [],
  91. "messages": {
  92. "accountRemoval": "Your account will be deactivated instantly and your data will shortly be deleted by an admin."
  93. },
  94. "christmas": false,
  95. "footerLinks": {
  96. "about": true,
  97. "team": true,
  98. "news": true,
  99. "GitHub": "https://github.com/Musare/Musare"
  100. },
  101. "shortcutOverrides": {},
  102. "registrationDisabled": false,
  103. "sendDataRequestEmails": true,
  104. "skipConfigVersionCheck": false,
  105. "skipDbDocumentsVersionCheck": false,
  106. "debug": {
  107. "stationIssue": false,
  108. "traceUnhandledPromises": false,
  109. "captureJobs": [],
  110. "git": {
  111. "remote": false,
  112. "remoteUrl": false,
  113. "branch": true,
  114. "latestCommit": true,
  115. "latestCommitShort": true
  116. },
  117. "version": true
  118. },
  119. "defaultLogging": {
  120. "hideType": ["INFO"],
  121. "blacklistedTerms": []
  122. },
  123. "customLoggingPerModule": {
  124. "migration": {
  125. "hideType": [],
  126. "blacklistedTerms": [
  127. "Ran job",
  128. "Running job",
  129. "Queuing job",
  130. "Pausing job",
  131. "is queued",
  132. "is re-queued",
  133. "Requeing"
  134. ]
  135. }
  136. },
  137. "experimental": {
  138. "weight_stations": {},
  139. "queue_autofill_skip_last_x_played": {},
  140. "queue_add_before_autofilled": [],
  141. "disable_youtube_search": false,
  142. "registration_email_whitelist": false,
  143. "changable_listen_mode": [],
  144. "media_session": false,
  145. "station_history": false,
  146. "soundcloud": false,
  147. "spotify": false
  148. },
  149. "configVersion": 12
  150. }