-
Notifications
You must be signed in to change notification settings - Fork 9
/
base.ini
42 lines (36 loc) · 1.7 KB
/
base.ini
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
[app:app]
use = egg:clincoded
sqlalchemy.url = postgresql:///clincoded
file_upload_bucket = clincoded-files-dev
elasticsearch.server = localhost:9200
ontology_path = %(here)s/ontology.json
# Only run ec2metadata on ec2 instances
# XXX really need to reorganise ini files for more reuse
hostname_command = command -v ec2metadata > /dev/null && ec2metadata --public-hostname || hostname
multiauth.policies = auth0 session remoteuser accesskey
multiauth.groupfinder = clincoded.authorization.groupfinder
multiauth.policy.auth0.use = clincoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.auth0.base = clincoded.auth0.Auth0AuthenticationPolicy
multiauth.policy.auth0.namespace = auth0
multiauth.policy.session.use = clincoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.session.base = pyramid.authentication.SessionAuthenticationPolicy
multiauth.policy.session.namespace = mailto
multiauth.policy.remoteuser.use = clincoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.remoteuser.namespace = remoteuser
multiauth.policy.remoteuser.base = pyramid.authentication.RemoteUserAuthenticationPolicy
multiauth.policy.accesskey.use = clincoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.accesskey.namespace = accesskey
multiauth.policy.accesskey.base = clincoded.authentication.BasicAuthAuthenticationPolicy
multiauth.policy.accesskey.check = clincoded.authentication.basic_auth_check
auth0.siteName = ClinGen Submission
postgresql.statement_timeout = 120
pyramid.default_locale_name = en
[composite:indexer]
use = egg:clincoded#indexer
app = app
timeout = 60
set embed_cache.capacity = 5000
set indexer = true
[filter:memlimit]
use = egg:clincoded#memlimit
rss_limit = 1000MB