template.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. "clientId": "",
  37. "clientSecret": "",
  38. "rateLimit": 500,
  39. "requestTimeout": 5000,
  40. "retryAmount": 2
  41. },
  42. "soundcloud": {
  43. "rateLimit": 500,
  44. "requestTimeout": 5000,
  45. "retryAmount": 2
  46. },
  47. "recaptcha": {
  48. "secret": "",
  49. "enabled": false
  50. },
  51. "github": {
  52. "enabled": false,
  53. "client": "",
  54. "secret": "",
  55. "redirect_uri": ""
  56. },
  57. "google": {
  58. "enabled": true,
  59. "client": "",
  60. "secret": "",
  61. "redirect_uri": ""
  62. },
  63. "discogs": {
  64. "client": "",
  65. "secret": "",
  66. "enabled": false
  67. }
  68. },
  69. "cors": {
  70. "origin": [
  71. "http://localhost"
  72. ]
  73. },
  74. "smtp": {
  75. "host": "smtp.mailgun.org",
  76. "port": 587,
  77. "auth": {
  78. "user": "",
  79. "pass": ""
  80. },
  81. "secure": false,
  82. "enabled": false
  83. },
  84. "mail": {
  85. "from": "Musare <noreply@localhost>"
  86. },
  87. "redis": {
  88. "url": "redis://redis:6379/0",
  89. "password": "PASSWORD"
  90. },
  91. "mongo": {
  92. "url": "mongodb://musare:OTHER_PASSWORD_HERE@mongo:27017/musare"
  93. },
  94. "cookie": {
  95. "domain": "localhost",
  96. "secure": false,
  97. "SIDname": "SID"
  98. },
  99. "blacklistedCommunityStationNames": [
  100. "musare"
  101. ],
  102. "featuredPlaylists": [],
  103. "skipConfigVersionCheck": false,
  104. "skipDbDocumentsVersionCheck": false,
  105. "debug": {
  106. "stationIssue": false,
  107. "traceUnhandledPromises": false,
  108. "captureJobs": []
  109. },
  110. "defaultLogging": {
  111. "hideType": [
  112. "INFO"
  113. ],
  114. "blacklistedTerms": []
  115. },
  116. "customLoggingPerModule": {
  117. // "cache": {
  118. // "hideType": [
  119. // ],
  120. // "blacklistedTerms": []
  121. // },
  122. "migration": {
  123. "hideType": [],
  124. "blacklistedTerms": [
  125. "Ran job",
  126. "Running job",
  127. "Queuing job",
  128. "Pausing job",
  129. "is queued",
  130. "is re-queued",
  131. "Requeing"
  132. ]
  133. }
  134. },
  135. "configVersion": 11,
  136. "experimental": {
  137. "weight_stations": {
  138. "STATION_ID": true,
  139. "STATION_ID_2": "alternative_weight"
  140. },
  141. "queue_autofill_skip_last_x_played": {
  142. "STATION_ID": 5,
  143. "STATION_ID_2": 10
  144. },
  145. "queue_add_before_autofilled": [
  146. "STATION_ID"
  147. ],
  148. "disable_youtube_search": true,
  149. "registration_email_whitelist": false
  150. }
  151. }