template.json 2.3 KB

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