data.yml 3.14 KB
Newer Older
NGPixel's avatar
NGPixel committed
1 2 3 4 5 6 7
# ---------------------------------
# DO NOT EDIT THIS FILE!
# This is reserved for system use!
# ---------------------------------
name: Wiki.js
defaults:
  config:
8
    # File defaults
NGPixel's avatar
NGPixel committed
9
    port: 80
10
    db:
11
      type: postgres
12 13 14 15 16
      host: localhost
      port: 5432
      user: wikijs
      pass: wikijsrocks
      db: wiki
17
      ssl: false
18
      storage: ./db.sqlite
NGPixel's avatar
NGPixel committed
19 20
      sslOptions:
        auto: true
Nick's avatar
Nick committed
21 22
    ssl:
      enabled: false
23
    pool:
24
      min: 1
Nick's avatar
Nick committed
25 26
    bindIP: 0.0.0.0
    logLevel: info
27
    offline: false
28
    ha: false
29
    # DB defaults
30 31
    api:
      isEnabled: false
32 33 34 35 36 37
    graphEndpoint: 'https://graph.requarks.io'
    lang:
      code: en
      autoUpdate: true
      namespaces: []
      namespacing: false
38
      rtl: false
39 40 41 42
    telemetry:
      clientId: ''
      isEnabled: false
    title: Wiki.js
43 44
    company: ''
    contentLicense: ''
45
    logoUrl: https://static.requarks.io/logo/wikijs-butterfly.svg
46 47 48 49
    mail:
      host: ''
      secure: true
      verifySSL: true
50 51
    nav:
      mode: 'MIXED'
52 53
    theming:
      theme: 'default'
54
      iconset: 'md'
55
      darkMode: false
56 57
    auth:
      autoLogin: false
58
      enforce2FA: false
59
      hideLocal: false
60 61 62 63
      loginBgUrl: ''
      audience: 'urn:wiki.js'
      tokenExpiration: '30m'
      tokenRenewal: '14d'
64 65 66 67
    features:
      featurePageRatings: true
      featurePageComments: true
      featurePersonalWikis: true
68
    security:
69
      securityOpenRedirect: true
70 71
      securityIframe: true
      securityReferrerPolicy: true
72
      securityTrustProxy: true
NGPixel's avatar
NGPixel committed
73
      securitySRI: true
74 75 76 77
      securityHSTS: false
      securityHSTSDuration: 300
      securityCSP: false
      securityCSPDirectives: ''
78 79
    server:
      sslRedir: false
80 81 82
    uploads:
      maxFileSize: 5242880
      maxFiles: 10
Nick's avatar
Nick committed
83
    flags:
Nick's avatar
Nick committed
84
      ldapdebug: false
Nick's avatar
Nick committed
85
      sqllog: false
86
    # System defaults
87
    channel: STABLE
88
    setup: false
89
    dataPath: ./data
90 91 92 93 94
    cors:
      credentials: true
      maxAge: 600
      methods: 'GET,POST'
      origin: true
95 96
    search:
      maxHits: 100
97
    maintainerEmail: security@requarks.io
98
localeNamespaces:
99
  - admin
100 101
  - auth
  - common
102 103 104
jobs:
  purgeUploads:
    onInit: true
105
    schedule: PT15M
106
    offlineSkip: false
107
    repeat: true
108 109
  syncGraphLocales:
    onInit: true
110
    schedule: P1D
111
    offlineSkip: true
112
    repeat: true
113 114 115 116 117
  syncGraphUpdates:
    onInit: true
    schedule: P1D
    offlineSkip: true
    repeat: true
118
  rebuildTree:
119
    onInit: true
120 121 122 123
    offlineSkip: false
    repeat: false
    immediate: true
    worker: true
124 125
groups:
  defaultPermissions:
126 127
    - 'read:pages'
    - 'read:assets'
128 129
    - 'read:comments'
    - 'write:comments'
130 131 132 133 134 135 136 137 138 139 140
  defaultPageRules:
    - id: default
      deny: false
      match: START
      roles:
        - 'read:pages'
        - 'read:assets'
        - 'read:comments'
        - 'write:comments'
      path: ''
      locales: []
NGPixel's avatar
NGPixel committed
141 142 143 144
telemetry:
  BUGSNAG_ID: 'bb4b324d0675bcbba10025617fd2cec8'
  BUGSNAG_REMOTE: 'https://notify.bugsnag.com'
  GA_ID: 'UA-9094100-7'
Nick's avatar
Nick committed
145
  GA_REMOTE: 'https://www.google-analytics.com/batch'
146 147 148 149 150 151 152 153 154 155
reservedPaths:
  - login
  - logout
  - register
  - verify
  - favicons
  - fonts
  - img
  - js
  - svg
156 157 158 159
pageExtensions:
  - md
  - html
  - txt
160
# ---------------------------------