default.json 3.0 KB

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