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