2017-01-10 03:45:56 +00:00
|
|
|
# ---------------------------------
|
|
|
|
# DO NOT EDIT THIS FILE!
|
|
|
|
# This is reserved for system use!
|
|
|
|
# ---------------------------------
|
|
|
|
name: Wiki.js
|
|
|
|
defaults:
|
|
|
|
config:
|
2017-12-24 05:34:47 +00:00
|
|
|
# File defaults
|
2017-01-10 03:45:56 +00:00
|
|
|
port: 80
|
2017-07-29 21:33:08 +00:00
|
|
|
db:
|
2018-03-25 02:35:47 +00:00
|
|
|
type: postgres
|
2017-07-29 21:33:08 +00:00
|
|
|
host: localhost
|
|
|
|
port: 5432
|
|
|
|
user: wikijs
|
|
|
|
pass: wikijsrocks
|
|
|
|
db: wiki
|
2018-03-25 02:35:47 +00:00
|
|
|
storage: ./db.sqlite
|
2019-01-30 06:30:05 +00:00
|
|
|
ssl:
|
|
|
|
enabled: false
|
2019-02-09 17:32:23 +00:00
|
|
|
bindIP: 0.0.0.0
|
|
|
|
logLevel: info
|
2017-12-24 05:34:47 +00:00
|
|
|
# DB defaults
|
2018-06-11 03:23:09 +00:00
|
|
|
graphEndpoint: 'https://graph.requarks.io'
|
|
|
|
lang:
|
|
|
|
code: en
|
|
|
|
autoUpdate: true
|
|
|
|
namespaces: []
|
|
|
|
namespacing: false
|
|
|
|
telemetry:
|
|
|
|
clientId: ''
|
|
|
|
isEnabled: false
|
|
|
|
title: Wiki.js
|
|
|
|
theming:
|
|
|
|
theme: 'default'
|
|
|
|
darkMode: false
|
2019-02-23 23:22:25 +00:00
|
|
|
flags:
|
|
|
|
sqllog: false
|
2018-01-28 05:40:25 +00:00
|
|
|
# System defaults
|
2018-05-28 18:46:55 +00:00
|
|
|
setup: false
|
2018-12-15 22:15:13 +00:00
|
|
|
paths:
|
|
|
|
content: ./content
|
|
|
|
data: ./data
|
2018-01-28 05:40:25 +00:00
|
|
|
cors:
|
|
|
|
credentials: true
|
|
|
|
maxAge: 600
|
|
|
|
methods: 'GET,POST'
|
|
|
|
origin: true
|
2019-03-09 05:51:02 +00:00
|
|
|
search:
|
|
|
|
maxHits: 100
|
2018-01-10 01:41:53 +00:00
|
|
|
localeNamespaces:
|
2018-06-17 21:29:19 +00:00
|
|
|
- admin
|
2018-01-10 01:41:53 +00:00
|
|
|
- auth
|
|
|
|
- common
|
2018-04-29 21:55:36 +00:00
|
|
|
jobs:
|
|
|
|
purgeUploads:
|
|
|
|
onInit: true
|
2019-02-13 22:20:46 +00:00
|
|
|
schedule: PT15M
|
2018-04-29 21:55:36 +00:00
|
|
|
syncGraphLocales:
|
|
|
|
onInit: true
|
2019-02-13 22:20:46 +00:00
|
|
|
schedule: P1D
|
2019-01-13 20:37:45 +00:00
|
|
|
syncGraphUpdates:
|
|
|
|
onInit: true
|
2019-02-13 22:20:46 +00:00
|
|
|
schedule: P1D
|
2018-10-14 21:38:39 +00:00
|
|
|
groups:
|
|
|
|
defaultPermissions:
|
2019-05-05 05:03:42 +00:00
|
|
|
- 'read:pages'
|
|
|
|
- 'read:assets'
|
2018-10-14 21:38:39 +00:00
|
|
|
- 'read:comments'
|
|
|
|
- 'write:comments'
|
2019-05-05 05:03:42 +00:00
|
|
|
defaultPageRules:
|
|
|
|
- id: default
|
|
|
|
deny: false
|
|
|
|
match: START
|
|
|
|
roles:
|
|
|
|
- 'read:pages'
|
|
|
|
- 'read:assets'
|
|
|
|
- 'read:comments'
|
|
|
|
- 'write:comments'
|
|
|
|
path: ''
|
|
|
|
locales: []
|
2017-10-23 01:58:07 +00:00
|
|
|
telemetry:
|
|
|
|
BUGSNAG_ID: 'bb4b324d0675bcbba10025617fd2cec8'
|
|
|
|
BUGSNAG_REMOTE: 'https://notify.bugsnag.com'
|
|
|
|
GA_ID: 'UA-9094100-7'
|
2019-02-02 06:17:09 +00:00
|
|
|
GA_REMOTE: 'https://www.google-analytics.com/batch'
|
2019-04-20 00:45:05 +00:00
|
|
|
reservedPaths:
|
|
|
|
- login
|
|
|
|
- logout
|
|
|
|
- register
|
|
|
|
- verify
|
|
|
|
- favicons
|
|
|
|
- fonts
|
|
|
|
- img
|
|
|
|
- js
|
|
|
|
- svg
|
2017-02-11 21:21:50 +00:00
|
|
|
# ---------------------------------
|