blob: c7481692b59c5b056d35ec0460d3fa1ce90db3c8 [file] [log] [blame]
Akrone8235be2016-06-27 11:02:18 +02001# api => 'http://10.0.10.51:7070/api/v0.1/'
Akron741b2b12017-04-13 22:15:59 +02002my $api = 'http://10.0.10.13:7070/api/v0.1/';
3#my $api = 'http://localhost:9998/api/v0.1/';
Akrone8235be2016-06-27 11:02:18 +02004
Nils Diewald5d1ffb42014-05-21 17:45:34 +00005{
Nils Diewalddd2d4e82014-05-31 17:08:33 +00006 Search => {
Nils Diewald2fe12e12015-03-06 16:47:06 +00007 engine => 'Kalamar::API',
Akronb7b4b2f2016-10-12 17:00:43 +02008 # IDS Kustvakt server:
Akron3cd391e2017-03-29 23:42:54 +02009 api => $ENV{'KALAMAR_API'} // $api
Akrone8235be2016-06-27 11:02:18 +020010 },
11 Kalamar => {
Akron3cd391e2017-03-29 23:42:54 +020012 api => $ENV{'KALAMAR_API'} // $api
Nils Diewald2329e1d2014-06-12 16:07:57 +000013 },
14 CHI => {
15 default => {
16 driver => 'FastMmap',
Nils Diewald94bae912014-09-22 13:40:31 +000017 root_dir => app->home . '/cache/data',
Akrondadacf12016-01-22 19:24:59 +010018 cache_size => '100m',
19 max_size => '100m'
20 },
21 user => {
22 l1_cache => {
Akron3cd391e2017-03-29 23:42:54 +020023 driver => 'FastMmap',
24 root_dir => app->home . '/cache/usermap',
25 cache_size => '50m',
26 max_size => '50m'
Akrondadacf12016-01-22 19:24:59 +010027 },
28 driver => 'File',
29 root_dir => app->home . '/cache/userfile',
30 max_key_length => 64,
31 max_size => '500m'
Nils Diewald2329e1d2014-06-12 16:07:57 +000032 }
Nils Diewald1eba6572014-06-17 19:49:53 +000033 },
34 hypnotoad => {
Nils Diewalddd9d8d72014-06-23 15:09:37 +000035 listen => ['http://*:6666', 'http://*:5555'],
Nils Diewaldf2e02a92014-11-12 18:31:05 +000036 workers => 5,
Nils Diewaldd2b57372015-03-10 20:09:48 +000037 inactivity_timeout => 120,
38 proxy => 1
Nils Diewald002e8fb2014-06-22 14:27:01 +000039 },
Nils Diewald4e9fbcb2014-07-15 11:45:09 +000040 MailException => {
Nils Diewaldc46003b2015-05-07 15:55:35 +000041 from => join('@', 'korap', 'ids-mannheim.de'),
42 to => join('@', 'korap', 'ids-mannheim.de'),
Akronfef94782015-06-10 21:31:53 +020043 subject => '[KorAP] Kalamar crashed'
Nils Diewaldc46003b2015-05-07 15:55:35 +000044 },
45 # Doesn't make much sense when published, but who cares ...
46 'TagHelpers-MailToChiffre' => {
47 method_name => 'PArok',
48 pattern_rotate => 673
Nils Diewald5d1ffb42014-05-21 17:45:34 +000049 }
50}