blob: 0d5258685d9a271bf98f1ba09d6ab6faff87f5ba [file] [log] [blame]
Akronbc213c02017-04-20 16:45:55 +02001# my api => 'http://10.0.10.51:7070/api/v0.1/'
2# my $api = 'http://10.0.10.13:7070/api/v0.1/';
Akron8b054f12017-04-27 20:23:13 +02003my $api = 'http://localhost:9999/api/v0.1/';
4
5#my $api = 'http://10.0.2.40:8089/api/v0.1/';
Nils Diewald5d1ffb42014-05-21 17:45:34 +00006{
Nils Diewalddd2d4e82014-05-31 17:08:33 +00007 Search => {
Nils Diewald2fe12e12015-03-06 16:47:06 +00008 engine => 'Kalamar::API',
Akronb7b4b2f2016-10-12 17:00:43 +02009 # IDS Kustvakt server:
Akron3cd391e2017-03-29 23:42:54 +020010 api => $ENV{'KALAMAR_API'} // $api
Akrone8235be2016-06-27 11:02:18 +020011 },
12 Kalamar => {
Akron3cd391e2017-03-29 23:42:54 +020013 api => $ENV{'KALAMAR_API'} // $api
Nils Diewald2329e1d2014-06-12 16:07:57 +000014 },
15 CHI => {
16 default => {
17 driver => 'FastMmap',
Nils Diewald94bae912014-09-22 13:40:31 +000018 root_dir => app->home . '/cache/data',
Akrondadacf12016-01-22 19:24:59 +010019 cache_size => '100m',
20 max_size => '100m'
21 },
22 user => {
23 l1_cache => {
Akron3cd391e2017-03-29 23:42:54 +020024 driver => 'FastMmap',
25 root_dir => app->home . '/cache/usermap',
26 cache_size => '50m',
27 max_size => '50m'
Akrondadacf12016-01-22 19:24:59 +010028 },
29 driver => 'File',
30 root_dir => app->home . '/cache/userfile',
31 max_key_length => 64,
32 max_size => '500m'
Nils Diewald2329e1d2014-06-12 16:07:57 +000033 }
Nils Diewald1eba6572014-06-17 19:49:53 +000034 },
35 hypnotoad => {
Nils Diewalddd9d8d72014-06-23 15:09:37 +000036 listen => ['http://*:6666', 'http://*:5555'],
Nils Diewaldf2e02a92014-11-12 18:31:05 +000037 workers => 5,
Nils Diewaldd2b57372015-03-10 20:09:48 +000038 inactivity_timeout => 120,
39 proxy => 1
Nils Diewald002e8fb2014-06-22 14:27:01 +000040 },
Nils Diewald4e9fbcb2014-07-15 11:45:09 +000041 MailException => {
Nils Diewaldc46003b2015-05-07 15:55:35 +000042 from => join('@', 'korap', 'ids-mannheim.de'),
43 to => join('@', 'korap', 'ids-mannheim.de'),
Akronfef94782015-06-10 21:31:53 +020044 subject => '[KorAP] Kalamar crashed'
Nils Diewaldc46003b2015-05-07 15:55:35 +000045 },
46 # Doesn't make much sense when published, but who cares ...
47 'TagHelpers-MailToChiffre' => {
48 method_name => 'PArok',
49 pattern_rotate => 673
Nils Diewald5d1ffb42014-05-21 17:45:34 +000050 }
51}