This repository has been archived by the owner on Dec 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
local.ini.template
91 lines (71 loc) · 1.67 KB
/
local.ini.template
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[app:ramses_example]
use = egg:ramses_example
ramses.raml_schema = example.raml
; nefertari.engine = nefertari_mongodb
nefertari.engine = nefertari_sqla
auth = true
auth_tkt_secret = verysecret
enable_get_tunneling = true
public_max_limit = 100
database_acls = false
system.user = system
system.password = 123456
system.email = [email protected]
# SQLA
sqlalchemy.url = postgresql://localhost:5432/ramses_example
# MongoDB settings
mongodb.host = localhost
mongodb.port = 27017
mongodb.db = ramses_example
# ElasticSearch
elasticsearch.hosts = localhost:9200
elasticsearch.sniff = false
elasticsearch.index_name = ramses_example
elasticsearch.index.disable = false
elasticsearch.enable_refresh_query = true
elasticsearch.enable_aggregations = true
elasticsearch.enable_polymorphic_query = true
# ramses_example
host = localhost
base_url = http://%(host)s
# CORS
cors.enable = false
cors.allow_origins = %(base_url)s
cors.allow_credentials = true
request_timing.enable = true
[composite:main]
use = egg:Paste#urlmap
/api/ = ramses_example
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543
threads = 3
[loggers]
keys = root, ramses_example, nefertari, ramses
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_ramses_example]
level = INFO
handlers =
qualname = ramses_example
[logger_nefertari]
level = DEBUG
handlers =
qualname = nefertari
[logger_ramses]
level = DEBUG
handlers =
qualname = ramses
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(module)s.%(funcName)s: %(message)s