-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathconfig-simple.toml
49 lines (40 loc) · 1.94 KB
/
config-simple.toml
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
# Example simple configuration for DVID with single database backend.
# See config-multidb.toml for full range of configurations including
# email notifications, authentication, and backend assignments.
# NOTE: These example paths use /tmp to allow this configuration to
# run on your machine out-of-the-box, for demonstration purposes.
# For a real setup, change these paths to something permanent!
[server]
# host = "mygreatserver.test.com" # Lets you specify a user-friendly alias for help messages.
httpAddress = ":8000"
rpcAddress = ":8001"
webClient = "./http/dvid-web-console"
webDefaultFile = "index.html" # contents of this file will be returned for any bad file path; required by dvid-console 3.0+
[logging]
logfile = "/tmp/dvid.log"
max_log_size = 500 # MB
max_log_age = 30 # days
# If no backend is specified, DVID will return an error unless there is only
# one store, which will automatically be backend.default.
# See config-full.toml for example of [backend] use.
# However, use of a labelmap instance requires at least a filelog store and
# specification of a log, so a backend is required for servers with labelmap
# instances.
# NOTE: If you plan to use labelmap type, you MUST specify a log and therefore
# need to specify both "backend" and "store" sections.
# See config-full.toml.
[backend]
[backend.default]
store = "instancedata"
log = "mutationlog" # required if you have a labelmap instance.
# List the different storage systems available for metadata, data instances, etc.
# Any nickname can be used for a store. In this case, it's "raid6" to reflect
# that the directory is on a RAID-6 drive system. Note that all store properties
# like "engine" and "path" should be lower-case by convention.
[store]
[store.instancedata]
engine = "badger"
path = "/tmp/badgerdb"
[store.mutationlog]
engine = "filelog"
path = "/tmp/mutationlog" # directory that holds mutation log per instance-UUID.