2016-09-05 04:39:59 +00:00
|
|
|
#######################################################################
|
2016-12-09 03:44:31 +00:00
|
|
|
# Wiki.js - CONFIGURATION #
|
2016-09-05 04:39:59 +00:00
|
|
|
#######################################################################
|
|
|
|
# Full explanation + examples in the documentation:
|
2017-04-29 20:33:48 +00:00
|
|
|
# https://docs.requarks.io/wiki/install
|
2016-08-17 00:56:55 +00:00
|
|
|
|
2016-09-05 04:39:59 +00:00
|
|
|
# ---------------------------------------------------------------------
|
2017-07-29 21:33:08 +00:00
|
|
|
# Port the main server should listen to
|
2016-09-05 04:39:59 +00:00
|
|
|
# ---------------------------------------------------------------------
|
2016-08-17 00:56:55 +00:00
|
|
|
|
|
|
|
port: 80
|
|
|
|
|
2016-09-05 04:39:59 +00:00
|
|
|
# ---------------------------------------------------------------------
|
2016-08-22 03:18:31 +00:00
|
|
|
# Data Directories
|
2016-09-05 04:39:59 +00:00
|
|
|
# ---------------------------------------------------------------------
|
2016-08-17 00:56:55 +00:00
|
|
|
|
2016-10-15 03:31:15 +00:00
|
|
|
paths:
|
2016-08-27 05:04:08 +00:00
|
|
|
repo: ./repo
|
2016-10-15 03:31:15 +00:00
|
|
|
data: ./data
|
|
|
|
|
2016-12-22 01:38:12 +00:00
|
|
|
# ---------------------------------------------------------------------
|
2017-07-29 04:11:22 +00:00
|
|
|
# Database
|
2016-12-09 03:44:31 +00:00
|
|
|
# ---------------------------------------------------------------------
|
|
|
|
|
2017-07-29 04:11:22 +00:00
|
|
|
db:
|
|
|
|
host: localhost
|
|
|
|
port: 5432
|
|
|
|
user: wikijs
|
|
|
|
pass: wikijsrocks
|
|
|
|
db: wiki
|
2016-12-09 03:44:31 +00:00
|
|
|
|
|
|
|
# ---------------------------------------------------------------------
|
2017-07-29 04:11:22 +00:00
|
|
|
# Redis
|
2016-10-15 03:31:15 +00:00
|
|
|
# ---------------------------------------------------------------------
|
|
|
|
|
2017-07-29 04:11:22 +00:00
|
|
|
redis:
|
|
|
|
host: localhost
|
|
|
|
port: 6379
|
|
|
|
db: 0
|
|
|
|
password: null
|
2017-07-09 03:59:24 +00:00
|
|
|
|
2017-09-15 01:04:52 +00:00
|
|
|
# Enable for right to left languages (e.g. arabic):
|
|
|
|
langRtl: false
|
|
|
|
|
2017-07-29 21:33:08 +00:00
|
|
|
# ---------------------------------------------------------------------
|
|
|
|
# Background Workers
|
|
|
|
# ---------------------------------------------------------------------
|
|
|
|
# Leave 0 for auto based on CPU cores
|
2017-08-03 03:47:11 +00:00
|
|
|
|
2017-07-29 21:33:08 +00:00
|
|
|
workers: 0
|
2017-08-03 03:47:11 +00:00
|
|
|
|
|
|
|
# ---------------------------------------------------------------------
|
|
|
|
# High Availability
|
|
|
|
# ---------------------------------------------------------------------
|
|
|
|
# Read the docs BEFORE changing these settings!
|
|
|
|
|
|
|
|
ha:
|
|
|
|
nodeuid: primary
|
|
|
|
readonly: false
|