data.yml 2.08 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
Nick's avatar
Nick committed
19 20
    ssl:
      enabled: false
21 22
    pool:
      min: 0
Nick's avatar
Nick committed
23 24
    bindIP: 0.0.0.0
    logLevel: info
25 26 27
    uploads:
      maxFileSize: 5242880
      maxFiles: 10
28
    offline: false
29
    # DB defaults
30 31 32 33 34 35
    graphEndpoint: 'https://graph.requarks.io'
    lang:
      code: en
      autoUpdate: true
      namespaces: []
      namespacing: false
36
      rtl: false
37 38 39 40 41 42 43
    telemetry:
      clientId: ''
      isEnabled: false
    title: Wiki.js
    theming:
      theme: 'default'
      darkMode: false
Nick's avatar
Nick committed
44
    flags:
Nick's avatar
Nick committed
45
      ldapdebug: false
Nick's avatar
Nick committed
46
      sqllog: false
47
    # System defaults
Nick's avatar
Nick committed
48
    channel: BETA
49
    setup: false
50 51 52
    paths:
      content: ./content
      data: ./data
53 54 55 56 57
    cors:
      credentials: true
      maxAge: 600
      methods: 'GET,POST'
      origin: true
58 59
    search:
      maxHits: 100
60
localeNamespaces:
61
  - admin
62 63
  - auth
  - common
64 65 66
jobs:
  purgeUploads:
    onInit: true
67
    schedule: PT15M
68
    offlineSkip: false
69 70
  syncGraphLocales:
    onInit: true
71
    schedule: P1D
72
    offlineSkip: true
73 74
  syncGraphUpdates:
    onInit: true
75
    schedule: P1D
76
    offlineSkip: true
77 78
groups:
  defaultPermissions:
79 80
    - 'read:pages'
    - 'read:assets'
81 82
    - 'read:comments'
    - 'write:comments'
83 84 85 86 87 88 89 90 91 92 93
  defaultPageRules:
    - id: default
      deny: false
      match: START
      roles:
        - 'read:pages'
        - 'read:assets'
        - 'read:comments'
        - 'write:comments'
      path: ''
      locales: []
NGPixel's avatar
NGPixel committed
94 95 96 97
telemetry:
  BUGSNAG_ID: 'bb4b324d0675bcbba10025617fd2cec8'
  BUGSNAG_REMOTE: 'https://notify.bugsnag.com'
  GA_ID: 'UA-9094100-7'
Nick's avatar
Nick committed
98
  GA_REMOTE: 'https://www.google-analytics.com/batch'
99 100 101 102 103 104 105 106 107 108
reservedPaths:
  - login
  - logout
  - register
  - verify
  - favicons
  - fonts
  - img
  - js
  - svg
109 110 111 112
pageExtensions:
  - md
  - html
  - txt
113
# ---------------------------------