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
|
2019-06-04 07:14:07 +00:00
|
|
|
ssl: false
|
2018-03-25 02:35:47 +00:00
|
|
|
storage: ./db.sqlite
|
2020-01-15 03:21:24 +00:00
|
|
|
sslOptions:
|
|
|
|
auto: true
|
2019-01-30 06:30:05 +00:00
|
|
|
ssl:
|
|
|
|
enabled: false
|
2019-06-22 03:39:04 +00:00
|
|
|
pool:
|
2019-10-03 02:37:41 +00:00
|
|
|
min: 1
|
2019-02-09 17:32:23 +00:00
|
|
|
bindIP: 0.0.0.0
|
|
|
|
logLevel: info
|
2019-06-22 00:54:09 +00:00
|
|
|
offline: false
|
2020-02-03 02:55:29 +00:00
|
|
|
ha: false
|
2017-12-24 05:34:47 +00:00
|
|
|
# DB defaults
|
2020-02-22 22:38:06 +00:00
|
|
|
api:
|
|
|
|
isEnabled: false
|
2018-06-11 03:23:09 +00:00
|
|
|
graphEndpoint: 'https://graph.requarks.io'
|
|
|
|
lang:
|
|
|
|
code: en
|
|
|
|
autoUpdate: true
|
|
|
|
namespaces: []
|
|
|
|
namespacing: false
|
2019-06-08 00:04:35 +00:00
|
|
|
rtl: false
|
2018-06-11 03:23:09 +00:00
|
|
|
telemetry:
|
|
|
|
clientId: ''
|
|
|
|
isEnabled: false
|
|
|
|
title: Wiki.js
|
2020-02-23 20:20:55 +00:00
|
|
|
company: ''
|
|
|
|
contentLicense: ''
|
2019-12-19 04:45:19 +00:00
|
|
|
logoUrl: https://static.requarks.io/logo/wikijs-butterfly.svg
|
2020-05-08 18:35:57 +00:00
|
|
|
mail:
|
|
|
|
host: ''
|
|
|
|
secure: true
|
|
|
|
verifySSL: true
|
2020-04-12 22:05:48 +00:00
|
|
|
nav:
|
|
|
|
mode: 'MIXED'
|
2018-06-11 03:23:09 +00:00
|
|
|
theming:
|
|
|
|
theme: 'default'
|
2019-07-13 05:45:03 +00:00
|
|
|
iconset: 'md'
|
2018-06-11 03:23:09 +00:00
|
|
|
darkMode: false
|
2019-08-25 02:19:35 +00:00
|
|
|
security:
|
|
|
|
securityIframe: true
|
|
|
|
securityReferrerPolicy: true
|
2019-10-05 20:58:34 +00:00
|
|
|
securityTrustProxy: true
|
2019-10-12 18:41:45 +00:00
|
|
|
securitySRI: true
|
2019-08-25 02:19:35 +00:00
|
|
|
securityHSTS: false
|
|
|
|
securityHSTSDuration: 300
|
|
|
|
securityCSP: false
|
|
|
|
securityCSPDirectives: ''
|
2020-01-20 02:30:25 +00:00
|
|
|
server:
|
|
|
|
sslRedir: false
|
2020-05-10 19:55:28 +00:00
|
|
|
uploads:
|
|
|
|
maxFileSize: 5242880
|
|
|
|
maxFiles: 10
|
2019-02-23 23:22:25 +00:00
|
|
|
flags:
|
2019-06-05 02:23:32 +00:00
|
|
|
ldapdebug: false
|
2019-02-23 23:22:25 +00:00
|
|
|
sqllog: false
|
2018-01-28 05:40:25 +00:00
|
|
|
# System defaults
|
2019-11-18 00:32:27 +00:00
|
|
|
channel: STABLE
|
2018-05-28 18:46:55 +00:00
|
|
|
setup: false
|
2019-10-25 22:20:02 +00:00
|
|
|
dataPath: ./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
|
2020-01-12 18:23:01 +00:00
|
|
|
maintainerEmail: security@requarks.io
|
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
|
2019-06-22 00:54:09 +00:00
|
|
|
offlineSkip: false
|
2019-10-07 04:06:47 +00:00
|
|
|
repeat: true
|
2018-04-29 21:55:36 +00:00
|
|
|
syncGraphLocales:
|
|
|
|
onInit: true
|
2019-02-13 22:20:46 +00:00
|
|
|
schedule: P1D
|
2019-06-22 00:54:09 +00:00
|
|
|
offlineSkip: true
|
2019-10-07 04:06:47 +00:00
|
|
|
repeat: true
|
2019-11-18 00:53:35 +00:00
|
|
|
syncGraphUpdates:
|
|
|
|
onInit: true
|
|
|
|
schedule: P1D
|
|
|
|
offlineSkip: true
|
|
|
|
repeat: true
|
2019-10-07 04:06:47 +00:00
|
|
|
rebuildTree:
|
2019-01-13 20:37:45 +00:00
|
|
|
onInit: true
|
2019-10-07 04:06:47 +00:00
|
|
|
offlineSkip: false
|
|
|
|
repeat: false
|
|
|
|
immediate: true
|
|
|
|
worker: true
|
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
|
2019-05-14 04:53:19 +00:00
|
|
|
pageExtensions:
|
|
|
|
- md
|
|
|
|
- html
|
|
|
|
- txt
|
2017-02-11 21:21:50 +00:00
|
|
|
# ---------------------------------
|