Mirror of HackMD with some custom changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

148 lines
5.0KB

  1. {
  2. "name": "CodiMD",
  3. "description": "Realtime collaborative markdown notes on all platforms",
  4. "keywords": [
  5. "Collaborative",
  6. "Markdown",
  7. "Notes"
  8. ],
  9. "website": "https://codimd.org",
  10. "repository": "https://github.com/codimd/server",
  11. "logo": "https://github.com/codimd/server/raw/master/public/codimd-icon-1024.png",
  12. "success_url": "/",
  13. "env": {
  14. "NPM_CONFIG_PRODUCTION": {
  15. "description": "Let npm also install development build tool",
  16. "value": "false"
  17. },
  18. "DB_TYPE": {
  19. "description": "Specify database type. See sequelize available databases. Default using postgres",
  20. "value": "postgres"
  21. },
  22. "CMD_SESSION_SECRET": {
  23. "description": "Secret used to secure session cookies.",
  24. "required": false
  25. },
  26. "CMD_HSTS_ENABLE": {
  27. "description": "whether to also use HSTS if HTTPS is enabled",
  28. "required": false
  29. },
  30. "CMD_HSTS_MAX_AGE": {
  31. "description": "max duration, in seconds, to tell clients to keep HSTS status",
  32. "required": false
  33. },
  34. "CMD_HSTS_INCLUDE_SUBDOMAINS": {
  35. "description": "whether to tell clients to also regard subdomains as HSTS hosts",
  36. "required": false
  37. },
  38. "CMD_HSTS_PRELOAD": {
  39. "description": "whether to allow at all adding of the site to HSTS preloads (e.g. in browsers)",
  40. "required": false
  41. },
  42. "CMD_DOMAIN": {
  43. "description": "domain name",
  44. "required": false
  45. },
  46. "CMD_URL_PATH": {
  47. "description": "sub url path, like `www.example.com/<URL_PATH>`",
  48. "required": false
  49. },
  50. "CMD_ALLOW_ORIGIN": {
  51. "description": "domain name whitelist (use comma to separate)",
  52. "required": false,
  53. "value": "localhost"
  54. },
  55. "CMD_PROTOCOL_USESSL": {
  56. "description": "set to use ssl protocol for resources path (only applied when domain is set)",
  57. "required": false
  58. },
  59. "CMD_URL_ADDPORT": {
  60. "description": "set to add port on callback url (port 80 or 443 won't applied) (only applied when domain is set)",
  61. "required": false
  62. },
  63. "CMD_FACEBOOK_CLIENTID": {
  64. "description": "Facebook API client id",
  65. "required": false
  66. },
  67. "CMD_FACEBOOK_CLIENTSECRET": {
  68. "description": "Facebook API client secret",
  69. "required": false
  70. },
  71. "CMD_TWITTER_CONSUMERKEY": {
  72. "description": "Twitter API consumer key",
  73. "required": false
  74. },
  75. "CMD_TWITTER_CONSUMERSECRET": {
  76. "description": "Twitter API consumer secret",
  77. "required": false
  78. },
  79. "CMD_GITHUB_CLIENTID": {
  80. "description": "GitHub API client id",
  81. "required": false
  82. },
  83. "CMD_GITHUB_CLIENTSECRET": {
  84. "description": "GitHub API client secret",
  85. "required": false
  86. },
  87. "CMD_GITLAB_BASEURL": {
  88. "description": "GitLab authentication endpoint, set to use other endpoint than GitLab.com (optional)",
  89. "required": false
  90. },
  91. "CMD_GITLAB_CLIENTID": {
  92. "description": "GitLab API client id",
  93. "required": false
  94. },
  95. "CMD_GITLAB_CLIENTSECRET": {
  96. "description": "GitLab API client secret",
  97. "required": false
  98. },
  99. "CMD_GITLAB_SCOPE": {
  100. "description": "GitLab API client scope (optional)",
  101. "required": false
  102. },
  103. "CMD_MATTERMOST_BASEURL": {
  104. "description": "Mattermost authentication endpoint",
  105. "required": false
  106. },
  107. "CMD_MATTERMOST_CLIENTID": {
  108. "description": "Mattermost API client id",
  109. "required": false
  110. },
  111. "CMD_MATTERMOST_CLIENTSECRET": {
  112. "description": "Mattermost API client secret",
  113. "required": false
  114. },
  115. "CMD_DROPBOX_CLIENTID": {
  116. "description": "Dropbox API client id",
  117. "required": false
  118. },
  119. "CMD_DROPBOX_CLIENTSECRET": {
  120. "description": "Dropbox API client secret",
  121. "required": false
  122. },
  123. "CMD_DROPBOX_APP_KEY": {
  124. "description": "Dropbox app key (for import/export)",
  125. "required": false
  126. },
  127. "CMD_GOOGLE_CLIENTID": {
  128. "description": "Google API client id",
  129. "required": false
  130. },
  131. "CMD_GOOGLE_CLIENTSECRET": {
  132. "description": "Google API client secret",
  133. "required": false
  134. },
  135. "CMD_IMGUR_CLIENTID": {
  136. "description": "Imgur API client id",
  137. "required": false
  138. },
  139. "CMD_ALLOW_PDF_EXPORT": {
  140. "description": "Enable or disable PDF exports",
  141. "required": false
  142. }
  143. },
  144. "addons": [
  145. "heroku-postgresql"
  146. ]
  147. }