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.

126 lines
3.6 KiB

  1. #######################################################################
  2. # Wiki.js - CONFIGURATION #
  3. #######################################################################
  4. # Full explanation + examples in the documentation:
  5. # https://wiki.requarks.io/install
  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. # Upload Limits
  27. # ---------------------------------------------------------------------
  28. # In megabytes (MB)
  29. uploads:
  30. maxImageFileSize: 3
  31. maxOtherFileSize: 100
  32. # ---------------------------------------------------------------------
  33. # Site Language
  34. # ---------------------------------------------------------------------
  35. # Possible values: en, fr
  36. lang: en
  37. # ---------------------------------------------------------------------
  38. # Site Authentication
  39. # ---------------------------------------------------------------------
  40. public: false
  41. auth:
  42. local:
  43. enabled: true
  44. google:
  45. enabled: true
  46. clientId: GOOGLE_CLIENT_ID
  47. clientSecret: GOOGLE_CLIENT_SECRET
  48. microsoft:
  49. enabled: true
  50. clientId: MS_APP_ID
  51. clientSecret: MS_APP_SECRET
  52. facebook:
  53. enabled: false
  54. clientId: FACEBOOK_APP_ID
  55. clientSecret: FACEBOOK_APP_SECRET
  56. github:
  57. enabled: false
  58. clientId: GITHUB_CLIENT_ID
  59. clientSecret: GITHUB_CLIENT_SECRET
  60. slack:
  61. enabled: false
  62. clientId: SLACK_CLIENT_ID
  63. clientSecret: SLACK_CLIENT_SECRET
  64. ldap:
  65. enabled: false
  66. # ---------------------------------------------------------------------
  67. # Secret key to use when encrypting sessions
  68. # ---------------------------------------------------------------------
  69. # Use a long and unique random string (256-bit keys are perfect!)
  70. sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz
  71. # ---------------------------------------------------------------------
  72. # Administrator email
  73. # ---------------------------------------------------------------------
  74. # An admin account will be created using the email specified here.
  75. # The password is set to "admin123" by default. Change it immediately
  76. # upon login!!!
  77. admin: admin@company.com
  78. # ---------------------------------------------------------------------
  79. # Database Connection String
  80. # ---------------------------------------------------------------------
  81. db: mongodb://localhost:27017/wiki
  82. # ---------------------------------------------------------------------
  83. # Git Connection Info
  84. # ---------------------------------------------------------------------
  85. git:
  86. url: https://github.com/Organization/Repo
  87. branch: master
  88. auth:
  89. # Type: basic or ssh
  90. type: ssh
  91. # Only for Basic authentication:
  92. username: marty
  93. password: MartyMcFly88
  94. # Only for SSH authentication:
  95. privateKey: /etc/wiki/keys/git.pem
  96. sslVerify: true
  97. signature:
  98. name: Marty
  99. email: marty@example.com