forked from ENCODE-DCC/snovault
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.ini
58 lines (50 loc) · 2.16 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[app:app]
use = egg:encoded
sqlalchemy.url = postgresql:///encoded
tm.attempts = 3
file_upload_bucket = encoded-files-dev
file_upload_profile_name = encoded-files-upload
elasticsearch.server = localhost:9200
ontology_path = %(here)s/ontology.json
aws_ip_ranges_path = %(here)s/aws-ip-ranges.json
download_proxy = https://download.encodeproject.org/
annotations_path = %(here)s/annotations.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 = persona session remoteuser accesskey
multiauth.groupfinder = encoded.authorization.groupfinder
multiauth.policy.persona.use = encoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.persona.base = encoded.persona.PersonaAuthenticationPolicy
multiauth.policy.persona.namespace = persona
multiauth.policy.session.use = encoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.session.base = pyramid.authentication.SessionAuthenticationPolicy
multiauth.policy.session.namespace = mailto
multiauth.policy.remoteuser.use = encoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.remoteuser.namespace = remoteuser
multiauth.policy.remoteuser.base = pyramid.authentication.RemoteUserAuthenticationPolicy
multiauth.policy.accesskey.use = encoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.accesskey.namespace = accesskey
multiauth.policy.accesskey.base = encoded.authentication.BasicAuthAuthenticationPolicy
multiauth.policy.accesskey.check = encoded.authentication.basic_auth_check
persona.audiences = *.encodedcc.org *.encodeproject.org *.demo.encodedcc.org *.instance.encodedcc.org
persona.siteName = ENCODE DCC Submission
postgresql.statement_timeout = 120
pyramid.default_locale_name = en
[composite:indexer]
use = egg:encoded#indexer
app = app
path = /index
timeout = 60
set embed_cache.capacity = 5000
set indexer = true
[composite:fileindexer]
use = egg:encoded#indexer
app = app
path = /index_file
timeout = 60
set embed_cache.capacity = 5000
set fileindexer = true
[filter:memlimit]
use = egg:encoded#memlimit
rss_limit = 500MB