wikijs-fork/config.sample.yml

84 lines
2.8 KiB
YAML
Raw Normal View History

#######################################################################
# REQUARKS WIKI - CONFIGURATION #
#######################################################################
# Full explanation + examples in the documentation:
# https://requarks-wiki.readme.io/
2016-08-17 00:56:55 +00:00
# ---------------------------------------------------------------------
2016-08-17 00:56:55 +00:00
# Title of this site
# ---------------------------------------------------------------------
2016-08-17 00:56:55 +00:00
title: Wiki
# ---------------------------------------------------------------------
# Full public path to the site, without the trailing slash
# ---------------------------------------------------------------------
2016-08-17 00:56:55 +00:00
host: http://localhost
# ---------------------------------------------------------------------
# Port the main server should listen to (80 by default)
# ---------------------------------------------------------------------
2016-08-17 00:56:55 +00:00
# To use process.env.PORT, comment the line below:
port: 80
# ---------------------------------------------------------------------
# Port the websocket server should listen to (8080 by default)
# ---------------------------------------------------------------------
# Make sure this port is opened in the firewall if applicable
wsPort: 8080
# ---------------------------------------------------------------------
# Data Directories
# ---------------------------------------------------------------------
2016-08-17 00:56:55 +00:00
datadir:
repo: ./repo
db: ./data
2016-08-17 00:56:55 +00:00
# ---------------------------------------------------------------------
2016-08-20 04:50:29 +00:00
# Git Connection Info
# ---------------------------------------------------------------------
2016-08-20 04:50:29 +00:00
git:
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: basic, oauth or ssh
2016-08-20 04:50:29 +00:00
type: ssh
username: marty
# Password, OAuth token or private key passphrase:
password: MartyMcFly88
# Only for SSH authentication:
publicKey: /etc/requarkswiki/keys/git.pub
privateKey: /etc/requarkswiki/keys/git.key
sslVerify: true
2016-08-20 04:50:29 +00:00
# ---------------------------------------------------------------------
2016-08-17 00:56:55 +00:00
# Secret key to use when encrypting sessions
# ---------------------------------------------------------------------
2016-08-17 00:56:55 +00:00
# Use a long and unique random string (256-bit keys are perfect!)
sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz
# ---------------------------------------------------------------------
2016-08-17 00:56:55 +00:00
# Administrator email
# ---------------------------------------------------------------------
# An admin account will be created using the email specified here.
# The password is set to "admin123" by default. Change it immediately
# upon login!!!
2016-08-17 00:56:55 +00:00
2016-08-25 02:10:03 +00:00
admin: admin@company.com
# ---------------------------------------------------------------------
# Site Language
# ---------------------------------------------------------------------
# Possible values: en, fr
2016-08-25 02:10:03 +00:00
lang: en