config.sample.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ###################################################
  2. # REQUARKS WIKI - CONFIGURATION #
  3. ###################################################
  4. # -------------------------------------------------
  5. # Title of this site
  6. # -------------------------------------------------
  7. title: Wiki
  8. # -------------------------------------------------
  9. # Full path to the site, without the trailing slash
  10. # -------------------------------------------------
  11. host: http://localhost
  12. # -------------------------------------------------
  13. # Port the server should listen to (80 by default)
  14. # -------------------------------------------------
  15. # To use process.env.PORT, comment the line below:
  16. port: 80
  17. # -------------------------------------------------
  18. # Data Directories
  19. # -------------------------------------------------
  20. datadir:
  21. db: ./data
  22. uploads: ./uploads
  23. # -------------------------------------------------
  24. # Git Connection Info
  25. # -------------------------------------------------
  26. # Full explanation + examples in the documentation (https://requarks-wiki.readme.io/)
  27. git:
  28. path: ./repo
  29. remote: true
  30. url: https://github.com/Organization/Repo
  31. branch: master
  32. auth:
  33. type: ssh
  34. user: gitusername
  35. publickey: /etc/requarkswiki/keys/git.pub
  36. privatekey: /etc/requarkswiki/keys/git.key
  37. passphrase: SomeSshPassphrase
  38. # auth:
  39. # type: oauth
  40. # token: 1234567890abcdefghijklmnopqrstuvxyz
  41. # auth:
  42. # type: basic
  43. # user: johnsmith
  44. # pass: password123
  45. # -------------------------------------------------
  46. # Secret key to use when encrypting sessions
  47. # -------------------------------------------------
  48. # Use a long and unique random string (256-bit keys are perfect!)
  49. sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz
  50. # -------------------------------------------------
  51. # Administrator email
  52. # -------------------------------------------------
  53. # An account will be created using the email specified here.
  54. # The password is set to "admin123" by default. Change it immediately upon login!!!
  55. admin: admin@company.com
  56. # -------------------------------------------------
  57. # Default page for Home
  58. # -------------------------------------------------
  59. homepage: Home.md