wikijs-fork/server/app/data.yml

169 lines
3.4 KiB
YAML
Raw Normal View History

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:
type: postgres
2017-07-29 21:33:08 +00:00
host: localhost
port: 5432
user: wikijs
pass: wikijsrocks
db: wiki
ssl: false
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
logFormat: default
2019-06-22 00:54:09 +00:00
offline: false
ha: false
bodyParserLimit: 5mb
2017-12-24 05:34:47 +00:00
# DB defaults
api:
isEnabled: false
2018-06-11 03:23:09 +00:00
graphEndpoint: 'https://graph.requarks.io'
lang:
code: en
autoUpdate: true
namespaces: []
namespacing: false
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: ''
logoUrl: https://static.requarks.io/logo/wikijs-butterfly.svg
pageExtensions:
- md
- html
- txt
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
2022-12-10 22:03:40 +00:00
tocPosition: 'left'
auth:
autoLogin: false
enforce2FA: false
hideLocal: false
loginBgUrl: ''
audience: 'urn:wiki.js'
tokenExpiration: '30m'
tokenRenewal: '14d'
2022-09-20 20:55:05 +00:00
editShortcuts:
editFab: true
editMenuBar: false
editMenuBtn: true
editMenuExternalBtn: true
editMenuExternalName: 'GitHub'
editMenuExternalIcon: 'mdi-github'
editMenuExternalUrl: 'https://github.com/org/repo/blob/main/{filename}'
2020-06-05 18:46:47 +00:00
features:
featurePageRatings: true
featurePageComments: true
featurePersonalWikis: true
security:
securityOpenRedirect: true
securityIframe: true
securityReferrerPolicy: true
securityTrustProxy: true
2019-10-12 18:41:45 +00:00
securitySRI: true
securityHSTS: false
securityHSTSDuration: 300
securityCSP: false
securityCSPDirectives: ''
server:
sslRedir: false
uploads:
maxFileSize: 5242880
maxFiles: 10
2021-12-18 02:41:23 +00:00
scanSVG: true
forceDownload: true
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
# System defaults
channel: STABLE
2018-05-28 18:46:55 +00:00
setup: false
dataPath: ./data
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:
- admin
2018-01-10 01:41:53 +00:00
- auth
- common
jobs:
purgeUploads:
onInit: true
schedule: PT15M
2019-06-22 00:54:09 +00:00
offlineSkip: false
2019-10-07 04:06:47 +00:00
repeat: true
syncGraphLocales:
onInit: true
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:
- 'read:pages'
- 'read:assets'
2018-10-14 21:38:39 +00:00
- 'read:comments'
- 'write:comments'
defaultPageRules:
- id: default
deny: false
match: START
roles:
- 'read:pages'
- 'read:assets'
- 'read:comments'
- 'write:comments'
path: ''
locales: []
reservedPaths:
- login
- logout
- register
- verify
- favicons
- fonts
- img
- js
- svg
# ---------------------------------