template.json 2.6 KB

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