summarylogtreecommitdiffstats
path: root/config-client.yaml
blob: 05615eee1f38f47be58b80472083483b0ecdd8cf (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
48
49
50
51
52
53
54
55
56
57
58
59
60
---
# set to `true` if you want errors to be wrapped in an object that includes the
# file/line number. nice for testing, probably annoying when actually using the
# core
wrap_errors: false

messaging:
  # the channel our request/response dialog happens on
  reqres: "inproc://turtl-req"
  # the channel used to send events from the core to the UI
  events: "inproc://turtl-events"
  # if true, the reqres channel responses will vary by the message id. so if you
  # set a message id of 53 and this is `true`, and messaging.reqres is
  # "turtl-req" then the response will come back on the channel "turtl-req:53"
  #
  # if this is false, the responses will come back on "turtl-req" and each
  # response message will have a message id you can use to match.
  reqres_append_mid: false

# override w/ runtime config! on desktop this should be a subfolder in the user
# folder. in android it should be the location of the app's data folder.
data_folder: '/tmp/turtl'

# logging configuration
logging:
  # the log level (ignore all messages with a log level lower than this)
  level: 'info'
  # the file to log to. if missing, logging will just be stdout
  #file: 'core.log'
  # log rotation, only applies if `logging.file` is set
  rotation:
    keep: 3
    size: 1048576

api:
  endpoint: "http://127.0.1.1:8181"
  # this should be set by the client loading the core. standard format is
  # <platform>/<version>, like "android/0.7.0"
  client_version_string: 'core'
  # point this at a v0.6 api (the old lisp server) if you want to enable
  # migration from the old system to the new.
  #v6:
    #endpoint: "https://api.turtlapp.com/v2"

sync:
  enable_incoming: true
  enable_outgoing: true
  enable_files_incoming: true
  enable_files_outgoing: true
  poll_timeout: 25

# configuration integration tests
integration_tests:
  data_folder: /tmp/turtl/integration
  login:
    username: testdata@turtlapp.com
    password: omgitsatest
  v6_login:
    username: 'duck duck'
    password: 'juice'