data.yml 1.49 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
      storage: ./db.sqlite
Nick's avatar
Nick committed
18 19
    ssl:
      enabled: false
Nick's avatar
Nick committed
20 21
    bindIP: 0.0.0.0
    logLevel: info
22
    # DB defaults
23 24 25 26 27 28 29 30 31 32 33 34 35
    graphEndpoint: 'https://graph.requarks.io'
    lang:
      code: en
      autoUpdate: true
      namespaces: []
      namespacing: false
    telemetry:
      clientId: ''
      isEnabled: false
    title: Wiki.js
    theming:
      theme: 'default'
      darkMode: false
Nick's avatar
Nick committed
36 37
    flags:
      sqllog: false
38
    # System defaults
39
    setup: false
40 41 42
    paths:
      content: ./content
      data: ./data
43 44 45 46 47
    cors:
      credentials: true
      maxAge: 600
      methods: 'GET,POST'
      origin: true
48 49
    search:
      maxHits: 100
50
localeNamespaces:
51
  - admin
52 53
  - auth
  - common
54 55 56
jobs:
  purgeUploads:
    onInit: true
57
    schedule: PT15M
58 59
  syncGraphLocales:
    onInit: true
60
    schedule: P1D
61 62
  syncGraphUpdates:
    onInit: true
63
    schedule: P1D
64 65 66 67 68 69
groups:
  defaultPermissions:
    - 'manage:pages'
    - 'write:assets'
    - 'read:comments'
    - 'write:comments'
NGPixel's avatar
NGPixel committed
70 71 72 73
telemetry:
  BUGSNAG_ID: 'bb4b324d0675bcbba10025617fd2cec8'
  BUGSNAG_REMOTE: 'https://notify.bugsnag.com'
  GA_ID: 'UA-9094100-7'
Nick's avatar
Nick committed
74
  GA_REMOTE: 'https://www.google-analytics.com/batch'
75
# ---------------------------------