template.json 2.5 KB

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