summaryrefslogtreecommitdiff
path: root/config/config.local.yaml
blob: e23c8084b74e7cc8a73b79fec92d431481b5e414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
logLevel: debug
blogPages:
  storage:
    type: b2
    config:
      bucketName: sayana-pages
      region: eu-central-003
      prefix: 'stage-'
      keyID: '${B2_KEY_ID}'
      applicationKey: '${B2_APPLICATION_KEY}'
factGiver:
  storage:
    type: b2
    config:
      bucketName: sayana-pages
      region: eu-central-003
      prefix: ''
      keyID: '${B2_KEY_ID}'
      applicationKey: '${B2_APPLICATION_KEY}'
  factsFileName: 'facts-*.txt'
localePath: ./locale/
availableLanguages:
  - name: ru
    alt: Русский
    flag: https://f003.backblazeb2.com/file/sayana-static/flags/ru.svg
    locFile: localization.ru.yaml
  - name: en
    alt: English
    flag: https://f003.backblazeb2.com/file/sayana-static/flags/gb.svg
    locFile: localization.en.yaml
auth:
  db:
    type: sqlite3
    config:
      # dsn: 'file:/tmp/auth.db?cache=shared&mode=rwc&_journal_mode=WAL'
      dsn: 'file:/tmp/auth.db?cache=private&mode=rwc&_locking_mode=EXCLUSIVE&_mutex=no&_auto_vacuum=2&_journal_mode=WAL'
  salt: '123'
mail:
  clientHost: '127.0.0.1:3000'
  mailHost: '${MAIL_HOST}'
  publicName: 'LOCAL.SAYA.TODAY'
  mailAddress: '${MAIL_ADDRESS}'
  username: '${MAIL_USERNAME}'
  password: '${MAIL_PASSWORD}'
  salt: '${MAIL_SALT}'
  trigger:
    onNewPost: "* * * * *"