-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.ini
79 lines (65 loc) · 3.36 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[app:app]
use = egg:encoded
create_tables = true
sqlalchemy.url = postgresql:///encoded
retry.attempts = 3
file_upload_bucket = smaht-unit-testing-files
file_wfout_bucket = smaht-unit-testing-wfout
accession_factory = snovault.server_defaults.enc_accession
# this really shouldn't be used with development, only uncomment if your sure - unknow
# system_bucket = elasticbeanstalk-encoded-4dn-system
elasticsearch.server = 127.0.0.1:9200
# The elasticsearch.server.actual_port property is useful (only) for running a localhost ElasticSearch
# proxy in order to observe traffic (requests/responses) between portal and ElasticSearch with a tool like
# mitmweb; e.g. setting elasticsearch.server.actual_port to 9201 and elasticsearch.server to localhost:9200
# will case ElasticSearch to actually run on port 9201 but will cause portal to talk to it via port 9200,
# and then we can run mitmweb --mode reverse:http://localhost:9201 -p 9200 --web-port 8081 which will
# allow us to browse to http://localhost:8081 locally to observe all of the ElasticSearch traffic;
# and note to install mitmweb do: pip install mitmproxy
# elasticsearch.server.actual_port = 9201
# The elasticsearch.server.transport_ports property is useful (only) for defining the "transport"
# ports for a localhost ElasticSearch instance. This can be useful if you want to (for example) ran
# both smaht-port and cgap-portal simultaneously. The default value (if unspecified) is "9300-9305".
# elasticsearch.server.transport_ports =
ontology_path = %(here)s/ontology.json
aws_ip_ranges_path = %(here)s/aws-ip-ranges.json
#this is to reroute downloads to something other than aws s3
#download_proxy = https://download.encodeproject.org/
# 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 = encoded.authorization.smaht_groupfinder
multiauth.policy.session.namespace = mailto
multiauth.policy.session.use = encoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.session.base = pyramid.authentication.SessionAuthenticationPolicy
multiauth.policy.remoteuser.namespace = remoteuser
multiauth.policy.remoteuser.use = encoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.remoteuser.base = pyramid.authentication.RemoteUserAuthenticationPolicy
multiauth.policy.accesskey.namespace = accesskey
multiauth.policy.accesskey.use = encoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.accesskey.base = encoded.authentication.BasicAuthAuthenticationPolicy
multiauth.policy.accesskey.check = encoded.authentication.basic_auth_check
multiauth.policy.auth0.use = encoded.authentication.NamespacedAuthenticationPolicy
multiauth.policy.auth0.namespace = auth0
multiauth.policy.auth0.base = encoded.authentication.Auth0AuthenticationPolicy
auth0.siteName = SMaHT DAC Submission
postgresql.statement_timeout = 120
pyramid.default_locale_name = en
# Google analytics config
ga_config_location = ./src/encoded/static/ga_config.json
[composite:indexer]
use = egg:encoded#indexer
app = app
path = /index
timeout = 60
set embed_cache.capacity = 5000
set indexer = true
[composite:ingester]
use = egg:encoded#ingester
app = app
path = /ingest
timeout = 60
[filter:memlimit]
use = egg:encoded#memlimit
rss_limit = 450MB