58 lines
1.7 KiB
YAML
58 lines
1.7 KiB
YAML
#######################################################################
|
|
# Wiki.js - CONFIGURATION #
|
|
#######################################################################
|
|
# Full documentation + examples:
|
|
# https://docs.requarks.io/wiki/install
|
|
|
|
# ---------------------------------------------------------------------
|
|
# Port the server should listen to
|
|
# ---------------------------------------------------------------------
|
|
|
|
port: 80
|
|
|
|
# ---------------------------------------------------------------------
|
|
# Data Directories
|
|
# ---------------------------------------------------------------------
|
|
|
|
paths:
|
|
content: ./content
|
|
data: ./data
|
|
|
|
# ---------------------------------------------------------------------
|
|
# Database
|
|
# ---------------------------------------------------------------------
|
|
# Supported Database Engines:
|
|
# - postgres = PostgreSQL 9.5 or later
|
|
# - mysql = MySQL 8.0 / MariaDB 10.2.7 or later
|
|
# - mssql = MS SQL Server 2012 or later
|
|
# - sqlite = SQLite 3.9 or later
|
|
|
|
db:
|
|
type: postgres
|
|
# PostgreSQL / MySQL / MariaDB / MS SQL Server only:
|
|
host: localhost
|
|
port: 5432
|
|
user: wikijs
|
|
pass: wikijsrocks
|
|
db: wiki
|
|
# SQLite only:
|
|
storage: path/to/database.sqlite
|
|
|
|
# ---------------------------------------------------------------------
|
|
# Redis
|
|
# ---------------------------------------------------------------------
|
|
# Redis 3.2 or later required
|
|
|
|
redis:
|
|
host: localhost
|
|
port: 6379
|
|
db: 0
|
|
password: null
|
|
|
|
# ---------------------------------------------------------------------
|
|
# Log Level
|
|
# ---------------------------------------------------------------------
|
|
# Possible values: error, warn, info (default), verbose, debug, silly
|
|
|
|
logLevel: info
|