template.json 2.0 KB

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