-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample-config.py
35 lines (27 loc) · 972 Bytes
/
example-config.py
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
# SiCDS Example Configuration
# where to listen
host = 'localhost' # '0.0.0.0' to listen on all addresses
port = 8625,
# clients must supply one of these keys to use the API
keys = [
'abracadabra',
]
# new keys can be registered using this superkey
superkey = 'simsalabim'
# available backends for persistent storage (choose one):
# databases will be created on startup if they don't exist already
# MongoDB:
#store = 'mongodb://localhost:27017/sicds'
# CouchDB:
#store = 'couchdb://localhost:5984/sicds'
# note: this creates two databases, 'sicds' and 'sicds_keys'
# in memory:
store = 'tmp:'
# note: all data will be lost when process terminates, use only for testing
# memory is not shared, use only with single-threaded server
# configure one or more loggers:
loggers = [
'null:', # suppress logging (otherwise default is to stdout)
'file:///dev/stdout', # log to specified file
'store:' # log to whatever was configured as the store
]