template.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. {
  2. "mode": "development",
  3. "migration": false,
  4. "secret": "default",
  5. "domain": "http://localhost",
  6. "frontendPort": 80,
  7. "serverDomain": "http://localhost/backend",
  8. "serverPort": 8080,
  9. "registrationDisabled": true,
  10. "sendDataRequestEmails": true,
  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. "secret": "",
  50. "enabled": false
  51. },
  52. "github": {
  53. "enabled": false,
  54. "client": "",
  55. "secret": "",
  56. "redirect_uri": ""
  57. },
  58. "google": {
  59. "enabled": true,
  60. "client": "",
  61. "secret": "",
  62. "redirect_uri": ""
  63. },
  64. "discogs": {
  65. "client": "",
  66. "secret": "",
  67. "enabled": false
  68. }
  69. },
  70. "cors": {
  71. "origin": [
  72. "http://localhost"
  73. ]
  74. },
  75. "smtp": {
  76. "host": "smtp.mailgun.org",
  77. "port": 587,
  78. "auth": {
  79. "user": "",
  80. "pass": ""
  81. },
  82. "secure": false,
  83. "enabled": false
  84. },
  85. "mail": {
  86. "from": "Musare <noreply@localhost>"
  87. },
  88. "redis": {
  89. "url": "redis://redis:6379/0",
  90. "password": "PASSWORD"
  91. },
  92. "mongo": {
  93. "url": "mongodb://musare:OTHER_PASSWORD_HERE@mongo:27017/musare"
  94. },
  95. "cookie": {
  96. "domain": "localhost",
  97. "secure": false,
  98. "SIDname": "SID"
  99. },
  100. "blacklistedCommunityStationNames": [
  101. "musare"
  102. ],
  103. "featuredPlaylists": [],
  104. "skipConfigVersionCheck": false,
  105. "skipDbDocumentsVersionCheck": false,
  106. "debug": {
  107. "stationIssue": false,
  108. "traceUnhandledPromises": false,
  109. "captureJobs": []
  110. },
  111. "defaultLogging": {
  112. "hideType": [
  113. "INFO"
  114. ],
  115. "blacklistedTerms": []
  116. },
  117. "customLoggingPerModule": {
  118. // "cache": {
  119. // "hideType": [
  120. // ],
  121. // "blacklistedTerms": []
  122. // },
  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. "configVersion": 11,
  137. "experimental": {
  138. "weight_stations": {
  139. "STATION_ID": true,
  140. "STATION_ID_2": "alternative_weight"
  141. },
  142. "queue_autofill_skip_last_x_played": {
  143. "STATION_ID": 5,
  144. "STATION_ID_2": 10
  145. },
  146. "queue_add_before_autofilled": [
  147. "STATION_ID"
  148. ],
  149. "disable_youtube_search": true,
  150. "registration_email_whitelist": false
  151. }
  152. }