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
|
|
|
#######################################################################
|
2017-12-17 04:41:16 +00:00
|
|
|
# Full documentation + examples:
|
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
|
|
|
# ---------------------------------------------------------------------
|
2018-05-28 18:46:55 +00:00
|
|
|
# Port the server should listen to
|
2016-09-05 04:39:59 +00:00
|
|
|
# ---------------------------------------------------------------------
|
2016-08-17 00:56:55 +00:00
|
|
|
|
2018-11-04 17:55:21 +00:00
|
|
|
port: 3000
|
2016-08-17 00:56:55 +00:00
|
|
|
|
2016-09-05 04:39:59 +00:00
|
|
|
# ---------------------------------------------------------------------
|
2018-09-01 03:42:14 +00:00
|
|
|
# IP address the server should listen to
|
2016-09-05 04:39:59 +00:00
|
|
|
# ---------------------------------------------------------------------
|
2018-09-01 03:42:14 +00:00
|
|
|
# Do not change unless you know what you are doing!
|
2016-08-17 00:56:55 +00:00
|
|
|
|
2018-09-01 03:42:14 +00:00
|
|
|
bindIP: 0.0.0.0
|
2016-10-15 03:31:15 +00:00
|
|
|
|
2016-12-22 01:38:12 +00:00
|
|
|
# ---------------------------------------------------------------------
|
2017-10-22 17:30:16 +00:00
|
|
|
# Database
|
2017-10-22 17:24:43 +00:00
|
|
|
# ---------------------------------------------------------------------
|
2018-03-25 02:35:47 +00:00
|
|
|
# Supported Database Engines:
|
|
|
|
# - postgres = PostgreSQL 9.5 or later
|
2018-09-08 19:49:36 +00:00
|
|
|
# - mysql = MySQL 5.7.8
|
|
|
|
# - mariadb = MariaDB 10.2.7 or later
|
2018-05-19 20:40:07 +00:00
|
|
|
# - mssql = MS SQL Server 2012 or later
|
2018-03-25 02:35:47 +00:00
|
|
|
# - sqlite = SQLite 3.9 or later
|
2017-10-22 17:24:43 +00:00
|
|
|
|
2017-10-22 17:30:16 +00:00
|
|
|
db:
|
2018-03-25 02:35:47 +00:00
|
|
|
type: postgres
|
2018-05-19 20:40:07 +00:00
|
|
|
# PostgreSQL / MySQL / MariaDB / MS SQL Server only:
|
2017-10-22 17:30:16 +00:00
|
|
|
host: localhost
|
|
|
|
port: 5432
|
|
|
|
user: wikijs
|
|
|
|
pass: wikijsrocks
|
|
|
|
db: wiki
|
2018-03-25 02:35:47 +00:00
|
|
|
# SQLite only:
|
|
|
|
storage: path/to/database.sqlite
|
2017-10-22 17:24:43 +00:00
|
|
|
|
|
|
|
# ---------------------------------------------------------------------
|
2017-10-22 17:30:16 +00:00
|
|
|
# Redis
|
2017-10-22 17:24:43 +00:00
|
|
|
# ---------------------------------------------------------------------
|
2017-12-24 05:34:47 +00:00
|
|
|
# Redis 3.2 or later required
|
2017-10-22 17:24:43 +00:00
|
|
|
|
2017-10-22 17:30:16 +00:00
|
|
|
redis:
|
|
|
|
host: localhost
|
|
|
|
port: 6379
|
|
|
|
db: 0
|
|
|
|
password: null
|
2017-10-22 17:24:43 +00:00
|
|
|
|
2017-12-17 04:41:16 +00:00
|
|
|
# ---------------------------------------------------------------------
|
|
|
|
# Log Level
|
|
|
|
# ---------------------------------------------------------------------
|
|
|
|
# Possible values: error, warn, info (default), verbose, debug, silly
|
|
|
|
|
|
|
|
logLevel: info
|