mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
135 lines
2.6 KiB
135 lines
2.6 KiB
# ---------------------------------
|
|
# DO NOT EDIT THIS FILE!
|
|
# This is reserved for system use!
|
|
# ---------------------------------
|
|
name: Wiki.js
|
|
defaults:
|
|
config:
|
|
# File defaults
|
|
port: 80
|
|
db:
|
|
host: localhost
|
|
port: 5432
|
|
user: wikijs
|
|
pass: wikijsrocks
|
|
db: wiki
|
|
ssl: false
|
|
sslOptions:
|
|
auto: true
|
|
schemas:
|
|
wiki: wiki
|
|
scheduler: scheduler
|
|
ssl:
|
|
enabled: false
|
|
pool:
|
|
min: 1
|
|
bindIP: 0.0.0.0
|
|
logLevel: info
|
|
logFormat: default
|
|
offline: false
|
|
dataPath: ./data
|
|
bodyParserLimit: 5mb
|
|
workers: auto
|
|
# DB defaults
|
|
api:
|
|
isEnabled: false
|
|
mail:
|
|
host: ''
|
|
secure: true
|
|
verifySSL: true
|
|
auth:
|
|
autoLogin: false
|
|
enforce2FA: false
|
|
hideLocal: false
|
|
loginBgUrl: ''
|
|
audience: 'urn:wiki.js'
|
|
tokenExpiration: '30m'
|
|
tokenRenewal: '14d'
|
|
security:
|
|
corsMode: 'OFF'
|
|
corsConfig: ''
|
|
enforceCsp: false
|
|
trustProxy: false
|
|
enforceHsts: false
|
|
disallowFloc: true
|
|
hstsDuration: 0
|
|
cspDirectives: ''
|
|
uploadScanSVG: true
|
|
disallowIframe: true
|
|
uploadMaxFiles: 20
|
|
authJwtAudience: 'urn:wiki.js'
|
|
authJwtExpiration: '30m'
|
|
uploadMaxFileSize: 10485760
|
|
forceAssetDownload: true
|
|
disallowOpenRedirect: true
|
|
authJwtRenewablePeriod: '14d'
|
|
enforceSameOriginReferrerPolicy: true
|
|
flags:
|
|
ldapdebug: false
|
|
sqllog: false
|
|
# System defaults
|
|
channel: NEXT
|
|
cors:
|
|
credentials: true
|
|
maxAge: 600
|
|
methods: 'GET,POST'
|
|
origin: true
|
|
search:
|
|
maxHits: 100
|
|
maintainerEmail: security@requarks.io
|
|
jobs:
|
|
purgeUploads:
|
|
onInit: true
|
|
schedule: PT15M
|
|
offlineSkip: false
|
|
repeat: true
|
|
syncGraphLocales:
|
|
onInit: true
|
|
schedule: P1D
|
|
offlineSkip: true
|
|
repeat: true
|
|
syncGraphUpdates:
|
|
onInit: true
|
|
schedule: P1D
|
|
offlineSkip: true
|
|
repeat: true
|
|
rebuildTree:
|
|
onInit: true
|
|
offlineSkip: false
|
|
repeat: false
|
|
immediate: true
|
|
worker: true
|
|
groups:
|
|
defaultPermissions:
|
|
- 'read:pages'
|
|
- 'read:assets'
|
|
- 'read:comments'
|
|
- 'write:comments'
|
|
defaultRules:
|
|
- name: Default Rule
|
|
mode: ALLOW
|
|
match: START
|
|
roles:
|
|
- 'read:pages'
|
|
- 'read:assets'
|
|
- 'read:comments'
|
|
- 'write:comments'
|
|
path: ''
|
|
locales: []
|
|
sites: []
|
|
reservedPaths:
|
|
- login
|
|
- logout
|
|
- register
|
|
- verify
|
|
- favicons
|
|
- fonts
|
|
- img
|
|
- js
|
|
- svg
|
|
pageExtensions:
|
|
- md
|
|
- html
|
|
- txt
|
|
# ---------------------------------
|