2016-08-17 00:56:55 +00:00
|
|
|
###################################################
|
|
|
|
# REQUARKS WIKI - CONFIGURATION #
|
|
|
|
###################################################
|
|
|
|
|
|
|
|
# -------------------------------------------------
|
|
|
|
# Title of this site
|
|
|
|
# -------------------------------------------------
|
|
|
|
|
|
|
|
title: Wiki
|
|
|
|
|
|
|
|
# -------------------------------------------------
|
|
|
|
# Full path to the site, without the trailing slash
|
|
|
|
# -------------------------------------------------
|
|
|
|
|
|
|
|
host: http://localhost
|
|
|
|
|
|
|
|
# -------------------------------------------------
|
|
|
|
# Port the server should listen to (80 by default)
|
|
|
|
# -------------------------------------------------
|
|
|
|
# To use process.env.PORT, comment the line below:
|
|
|
|
|
|
|
|
port: 80
|
|
|
|
|
|
|
|
# -------------------------------------------------
|
2016-08-22 03:18:31 +00:00
|
|
|
# Data Directories
|
2016-08-17 00:56:55 +00:00
|
|
|
# -------------------------------------------------
|
|
|
|
|
2016-08-22 03:18:31 +00:00
|
|
|
datadir:
|
|
|
|
db: ./data
|
|
|
|
uploads: ./uploads
|
2016-08-17 00:56:55 +00:00
|
|
|
|
2016-08-20 04:50:29 +00:00
|
|
|
# -------------------------------------------------
|
|
|
|
# Git Connection Info
|
|
|
|
# -------------------------------------------------
|
|
|
|
# Full explanation + examples in the documentation (https://requarks-wiki.readme.io/)
|
|
|
|
|
|
|
|
git:
|
2016-08-25 02:10:03 +00:00
|
|
|
path: ./repo
|
|
|
|
remote: true
|
2016-08-20 04:50:29 +00:00
|
|
|
url: https://github.com/Organization/Repo
|
2016-08-25 02:10:03 +00:00
|
|
|
branch: master
|
2016-08-20 04:50:29 +00:00
|
|
|
auth:
|
|
|
|
type: ssh
|
|
|
|
user: gitusername
|
|
|
|
publickey: /etc/requarkswiki/keys/git.pub
|
|
|
|
privatekey: /etc/requarkswiki/keys/git.key
|
|
|
|
passphrase: SomeSshPassphrase
|
|
|
|
# auth:
|
|
|
|
# type: oauth
|
|
|
|
# token: 1234567890abcdefghijklmnopqrstuvxyz
|
|
|
|
# auth:
|
|
|
|
# type: basic
|
|
|
|
# user: johnsmith
|
|
|
|
# pass: password123
|
|
|
|
|
2016-08-17 00:56:55 +00:00
|
|
|
# -------------------------------------------------
|
|
|
|
# Secret key to use when encrypting sessions
|
|
|
|
# -------------------------------------------------
|
|
|
|
# Use a long and unique random string (256-bit keys are perfect!)
|
|
|
|
|
|
|
|
sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz
|
|
|
|
|
|
|
|
# -------------------------------------------------
|
|
|
|
# Administrator email
|
|
|
|
# -------------------------------------------------
|
|
|
|
# An account will be created using the email specified here.
|
|
|
|
# The password is set to "admin123" by default. Change it immediately upon login!!!
|
|
|
|
|
2016-08-25 02:10:03 +00:00
|
|
|
admin: admin@company.com
|
|
|
|
|
|
|
|
# -------------------------------------------------
|
|
|
|
# Default page for Home
|
|
|
|
# -------------------------------------------------
|
|
|
|
|
|
|
|
homepage: Home.md
|