blob: 83866f9aa5dfaa36e67814ae383301f7a9a4a42f [file] [log] [blame]
Akrone8235be2016-06-27 11:02:18 +02001# api => 'http://10.0.10.51:7070/api/v0.1/'
2# api => 'http://10.0.10.13:7070/api/v0.1/'
3my $api = 'http://localhost:9999/api/v0.1/';
4
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:
Akrone8235be2016-06-27 11:02:18 +02009 api => $api
10 },
11 Kalamar => {
12 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 => {
23 driver => 'FastMmap',
24 root_dir => app->home . '/cache/usermap',
25 cache_size => '50m',
26 max_size => '50m'
27 },
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}