blob: 912aca961988b3491a7b7e279d52e8268fa39fde [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 => {
Akron7d75ee32017-05-02 13:42:41 +020013 api => $ENV{'KALAMAR_API'} // $api,
Akron4ae45c12017-05-02 16:13:08 +020014 auth_support => 1
Nils Diewald2329e1d2014-06-12 16:07:57 +000015 },
16 CHI => {
17 default => {
18 driver => 'FastMmap',
Nils Diewald94bae912014-09-22 13:40:31 +000019 root_dir => app->home . '/cache/data',
Akrondadacf12016-01-22 19:24:59 +010020 cache_size => '100m',
21 max_size => '100m'
22 },
23 user => {
24 l1_cache => {
Akron3cd391e2017-03-29 23:42:54 +020025 driver => 'FastMmap',
26 root_dir => app->home . '/cache/usermap',
27 cache_size => '50m',
28 max_size => '50m'
Akrondadacf12016-01-22 19:24:59 +010029 },
30 driver => 'File',
31 root_dir => app->home . '/cache/userfile',
32 max_key_length => 64,
33 max_size => '500m'
Nils Diewald2329e1d2014-06-12 16:07:57 +000034 }
Nils Diewald1eba6572014-06-17 19:49:53 +000035 },
36 hypnotoad => {
Nils Diewalddd9d8d72014-06-23 15:09:37 +000037 listen => ['http://*:6666', 'http://*:5555'],
Nils Diewaldf2e02a92014-11-12 18:31:05 +000038 workers => 5,
Nils Diewaldd2b57372015-03-10 20:09:48 +000039 inactivity_timeout => 120,
40 proxy => 1
Nils Diewald002e8fb2014-06-22 14:27:01 +000041 },
Nils Diewald4e9fbcb2014-07-15 11:45:09 +000042 MailException => {
Nils Diewaldc46003b2015-05-07 15:55:35 +000043 from => join('@', 'korap', 'ids-mannheim.de'),
44 to => join('@', 'korap', 'ids-mannheim.de'),
Akronfef94782015-06-10 21:31:53 +020045 subject => '[KorAP] Kalamar crashed'
Nils Diewaldc46003b2015-05-07 15:55:35 +000046 },
47 # Doesn't make much sense when published, but who cares ...
48 'TagHelpers-MailToChiffre' => {
49 method_name => 'PArok',
50 pattern_rotate => 673
Nils Diewald5d1ffb42014-05-21 17:45:34 +000051 }
52}