Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 1 | { |
Nils Diewald | 2fe12e1 | 2015-03-06 16:47:06 +0000 | [diff] [blame] | 2 | Kalamar => { |
Nils Diewald | 1d2903f | 2014-11-03 22:31:20 +0000 | [diff] [blame] | 3 | 'api-0.1' => 'http://10.0.10.13:7070/api/v0.1/' |
Nils Diewald | dd2d4e8 | 2014-05-31 17:08:33 +0000 | [diff] [blame] | 4 | }, |
| 5 | Notifications => { |
Nils Diewald | 2ef057e | 2014-11-04 16:04:17 +0000 | [diff] [blame] | 6 | Alertify => { |
| 7 | base_timeout => 10_000 |
| 8 | }, |
Nils Diewald | 02df991 | 2014-06-03 16:08:07 +0000 | [diff] [blame] | 9 | JSON => 1 |
Nils Diewald | dd2d4e8 | 2014-05-31 17:08:33 +0000 | [diff] [blame] | 10 | }, |
| 11 | Search => { |
Nils Diewald | 2fe12e1 | 2015-03-06 16:47:06 +0000 | [diff] [blame] | 12 | engine => 'Kalamar::API', |
Nils Diewald | 996aa55 | 2014-12-02 03:26:44 +0000 | [diff] [blame] | 13 | api => 'http://10.0.10.13:7070/api/v0.1/' |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 14 | }, |
| 15 | CHI => { |
| 16 | default => { |
| 17 | driver => 'FastMmap', |
Nils Diewald | 94bae91 | 2014-09-22 13:40:31 +0000 | [diff] [blame] | 18 | root_dir => app->home . '/cache/data', |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 19 | cache_size => '12m' |
| 20 | } |
Nils Diewald | 1eba657 | 2014-06-17 19:49:53 +0000 | [diff] [blame] | 21 | }, |
| 22 | hypnotoad => { |
Nils Diewald | dd9d8d7 | 2014-06-23 15:09:37 +0000 | [diff] [blame] | 23 | listen => ['http://*:6666', 'http://*:5555'], |
Nils Diewald | f2e02a9 | 2014-11-12 18:31:05 +0000 | [diff] [blame] | 24 | workers => 5, |
Nils Diewald | d2b5737 | 2015-03-10 20:09:48 +0000 | [diff] [blame] | 25 | inactivity_timeout => 120, |
| 26 | proxy => 1 |
Nils Diewald | 002e8fb | 2014-06-22 14:27:01 +0000 | [diff] [blame] | 27 | }, |
| 28 | 'TagHelpers-Pagination' => { |
Nils Diewald | a898dac | 2015-05-06 21:04:16 +0000 | [diff] [blame] | 29 | prev => '<span><span><</span></span>', |
| 30 | next => '<span><span><</span></span>', |
| 31 | ellipsis => '<a class="ellipsis"><span><span>...</span></span></a>', |
Nils Diewald | 002e8fb | 2014-06-22 14:27:01 +0000 | [diff] [blame] | 32 | separator => '', |
Nils Diewald | a898dac | 2015-05-06 21:04:16 +0000 | [diff] [blame] | 33 | current => '<span>{current}</span>', |
| 34 | page => '<span>{page}</span>' |
Nils Diewald | 4e9fbcb | 2014-07-15 11:45:09 +0000 | [diff] [blame] | 35 | }, |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 36 | Localize => { |
Akron | cddd164 | 2015-06-10 21:31:53 +0200 | [diff] [blame] | 37 | resources => ['kalamar.dict'] |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 38 | }, |
Nils Diewald | 4e9fbcb | 2014-07-15 11:45:09 +0000 | [diff] [blame] | 39 | MailException => { |
Nils Diewald | c46003b | 2015-05-07 15:55:35 +0000 | [diff] [blame] | 40 | from => join('@', 'korap', 'ids-mannheim.de'), |
| 41 | to => join('@', 'korap', 'ids-mannheim.de'), |
Akron | cddd164 | 2015-06-10 21:31:53 +0200 | [diff] [blame] | 42 | subject => '[KorAP] Kalamar crashed' |
Nils Diewald | c46003b | 2015-05-07 15:55:35 +0000 | [diff] [blame] | 43 | }, |
| 44 | # Doesn't make much sense when published, but who cares ... |
| 45 | 'TagHelpers-MailToChiffre' => { |
| 46 | method_name => 'PArok', |
| 47 | pattern_rotate => 673 |
Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 48 | } |
| 49 | } |