template.json 2.6 KB

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