Akron | bc213c0 | 2017-04-20 16:45:55 +0200 | [diff] [blame] | 1 | # my api => 'http://10.0.10.51:7070/api/v0.1/' |
| 2 | # my $api = 'http://10.0.10.13:7070/api/v0.1/'; |
Akron | 625fe0c | 2017-05-03 16:15:08 +0200 | [diff] [blame^] | 3 | # my $api = 'http://localhost:9999/api/v0.1/'; |
| 4 | # my $api = 'http://10.0.2.40:8089/api/v0.1/'; |
| 5 | my $api = 'http://10.0.10.52:8899/api/v0.1/'; |
Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 6 | { |
Nils Diewald | dd2d4e8 | 2014-05-31 17:08:33 +0000 | [diff] [blame] | 7 | Search => { |
Nils Diewald | 2fe12e1 | 2015-03-06 16:47:06 +0000 | [diff] [blame] | 8 | engine => 'Kalamar::API', |
Akron | b7b4b2f | 2016-10-12 17:00:43 +0200 | [diff] [blame] | 9 | # IDS Kustvakt server: |
Akron | 3cd391e | 2017-03-29 23:42:54 +0200 | [diff] [blame] | 10 | api => $ENV{'KALAMAR_API'} // $api |
Akron | e8235be | 2016-06-27 11:02:18 +0200 | [diff] [blame] | 11 | }, |
| 12 | Kalamar => { |
Akron | 7d75ee3 | 2017-05-02 13:42:41 +0200 | [diff] [blame] | 13 | api => $ENV{'KALAMAR_API'} // $api, |
Akron | 625fe0c | 2017-05-03 16:15:08 +0200 | [diff] [blame^] | 14 | auth_support => 0 |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 15 | }, |
| 16 | CHI => { |
| 17 | default => { |
| 18 | driver => 'FastMmap', |
Nils Diewald | 94bae91 | 2014-09-22 13:40:31 +0000 | [diff] [blame] | 19 | root_dir => app->home . '/cache/data', |
Akron | dadacf1 | 2016-01-22 19:24:59 +0100 | [diff] [blame] | 20 | cache_size => '100m', |
| 21 | max_size => '100m' |
| 22 | }, |
| 23 | user => { |
| 24 | l1_cache => { |
Akron | 3cd391e | 2017-03-29 23:42:54 +0200 | [diff] [blame] | 25 | driver => 'FastMmap', |
| 26 | root_dir => app->home . '/cache/usermap', |
| 27 | cache_size => '50m', |
| 28 | max_size => '50m' |
Akron | dadacf1 | 2016-01-22 19:24:59 +0100 | [diff] [blame] | 29 | }, |
| 30 | driver => 'File', |
| 31 | root_dir => app->home . '/cache/userfile', |
| 32 | max_key_length => 64, |
| 33 | max_size => '500m' |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 34 | } |
Nils Diewald | 1eba657 | 2014-06-17 19:49:53 +0000 | [diff] [blame] | 35 | }, |
| 36 | hypnotoad => { |
Nils Diewald | dd9d8d7 | 2014-06-23 15:09:37 +0000 | [diff] [blame] | 37 | listen => ['http://*:6666', 'http://*:5555'], |
Nils Diewald | f2e02a9 | 2014-11-12 18:31:05 +0000 | [diff] [blame] | 38 | workers => 5, |
Nils Diewald | d2b5737 | 2015-03-10 20:09:48 +0000 | [diff] [blame] | 39 | inactivity_timeout => 120, |
| 40 | proxy => 1 |
Nils Diewald | 002e8fb | 2014-06-22 14:27:01 +0000 | [diff] [blame] | 41 | }, |
Nils Diewald | 4e9fbcb | 2014-07-15 11:45:09 +0000 | [diff] [blame] | 42 | MailException => { |
Nils Diewald | c46003b | 2015-05-07 15:55:35 +0000 | [diff] [blame] | 43 | from => join('@', 'korap', 'ids-mannheim.de'), |
| 44 | to => join('@', 'korap', 'ids-mannheim.de'), |
Akron | fef9478 | 2015-06-10 21:31:53 +0200 | [diff] [blame] | 45 | subject => '[KorAP] Kalamar crashed' |
Nils Diewald | c46003b | 2015-05-07 15:55:35 +0000 | [diff] [blame] | 46 | }, |
| 47 | # Doesn't make much sense when published, but who cares ... |
| 48 | 'TagHelpers-MailToChiffre' => { |
| 49 | method_name => 'PArok', |
| 50 | pattern_rotate => 673 |
Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 51 | } |
| 52 | } |