default.json 2.8 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": 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. "discogs": {
  51. "enabled": false,
  52. "client": "",
  53. "secret": ""
  54. }
  55. },
  56. "cors": {
  57. "origin": []
  58. },
  59. "mail": {
  60. "enabled": false,
  61. "from": "",
  62. "smtp": {
  63. "host": "",
  64. "port": 587,
  65. "auth": {
  66. "user": "",
  67. "pass": ""
  68. },
  69. "secure": false
  70. }
  71. },
  72. "redis": {
  73. "url": "redis://redis:6379/0",
  74. "password": "PASSWORD"
  75. },
  76. "mongo": {
  77. "user": "musare",
  78. "password": "OTHER_PASSWORD_HERE",
  79. "host": "mongo",
  80. "port": 27017,
  81. "database": "musare"
  82. },
  83. "postgres": {
  84. "username": "musare",
  85. "password": "PASSWORD",
  86. "host": "postgres",
  87. "port": 5432,
  88. "database": "musare"
  89. },
  90. "blacklistedCommunityStationNames": [
  91. "musare"
  92. ],
  93. "messages": {
  94. "accountRemoval": "Your account will be deactivated instantly and your data will shortly be deleted by an admin."
  95. },
  96. "christmas": false,
  97. "footerLinks": {
  98. "about": true,
  99. "team": true,
  100. "news": true,
  101. "GitHub": "https://github.com/Musare/Musare"
  102. },
  103. "primaryColor": "#03a9f4",
  104. "shortcutOverrides": {},
  105. "registrationDisabled": false,
  106. "sendDataRequestEmails": true,
  107. "skipConfigVersionCheck": false,
  108. "skipDbDocumentsVersionCheck": false,
  109. "debug": {
  110. "stationIssue": false,
  111. "traceUnhandledPromises": false,
  112. "captureJobs": [],
  113. "git": {
  114. "remote": false,
  115. "remoteUrl": false,
  116. "branch": true,
  117. "latestCommit": true,
  118. "latestCommitShort": true
  119. },
  120. "version": true
  121. },
  122. "defaultLogging": {
  123. "hideType": [
  124. "INFO"
  125. ],
  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. }