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.

102 lines
3.2 KiB

  1. #######################################################################
  2. # REQUARKS WIKI - CONFIGURATION #
  3. #######################################################################
  4. # Full explanation + examples in the documentation:
  5. # https://requarks-wiki.readme.io/
  6. # ---------------------------------------------------------------------
  7. # Title of this site
  8. # ---------------------------------------------------------------------
  9. title: Wiki
  10. # ---------------------------------------------------------------------
  11. # Full public path to the site, without the trailing slash
  12. # ---------------------------------------------------------------------
  13. host: http://localhost
  14. # ---------------------------------------------------------------------
  15. # Port the main server should listen to (80 by default)
  16. # ---------------------------------------------------------------------
  17. # To use process.env.PORT, comment the line below:
  18. port: 80
  19. # ---------------------------------------------------------------------
  20. # Data Directories
  21. # ---------------------------------------------------------------------
  22. paths:
  23. repo: ./repo
  24. data: ./data
  25. # ---------------------------------------------------------------------
  26. # Site Authentication
  27. # ---------------------------------------------------------------------
  28. auth:
  29. local:
  30. enabled: true
  31. google:
  32. enabled: true
  33. clientId: GOOGLE_CLIENT_ID
  34. clientSecret: GOOGLE_CLIENT_SECRET
  35. microsoft:
  36. enabled: true
  37. clientId: MS_APP_ID
  38. clientSecret: MS_APP_SECRET
  39. facebook:
  40. enabled: false
  41. clientId: FACEBOOK_APP_ID
  42. clientSecret: FACEBOOK_APP_SECRET
  43. # ---------------------------------------------------------------------
  44. # Database Connection String
  45. # ---------------------------------------------------------------------
  46. db: mongodb://localhost:27017/wiki
  47. # ---------------------------------------------------------------------
  48. # Git Connection Info
  49. # ---------------------------------------------------------------------
  50. git:
  51. url: https://github.com/Organization/Repo
  52. branch: master
  53. auth:
  54. # Type: basic, oauth or ssh
  55. type: ssh
  56. username: marty
  57. # Password, OAuth token or private key passphrase:
  58. password: MartyMcFly88
  59. # Only for SSH authentication:
  60. publicKey: /etc/requarkswiki/keys/git.pub
  61. privateKey: /etc/requarkswiki/keys/git.key
  62. sslVerify: true
  63. # ---------------------------------------------------------------------
  64. # Secret key to use when encrypting sessions
  65. # ---------------------------------------------------------------------
  66. # Use a long and unique random string (256-bit keys are perfect!)
  67. sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz
  68. # ---------------------------------------------------------------------
  69. # Administrator email
  70. # ---------------------------------------------------------------------
  71. # An admin account will be created using the email specified here.
  72. # The password is set to "admin123" by default. Change it immediately
  73. # upon login!!!
  74. admin: admin@company.com
  75. # ---------------------------------------------------------------------
  76. # Site Language
  77. # ---------------------------------------------------------------------
  78. # Possible values: en, fr
  79. lang: en