| Marc Kupietz | 3e3e326 | 2022-04-12 23:11:45 +0200 | [diff] [blame] | 1 | { |
| 2 | hypnotoad => { |
| Marc Kupietz | a377441 | 2022-06-10 21:46:22 +0200 | [diff] [blame] | 3 | listen => ['http://*:3000'], |
| Marc Kupietz | 3e3e326 | 2022-04-12 23:11:45 +0200 | [diff] [blame] | 4 | trusted_proxies => ['10.0/8', '127.0.0.1'], |
| 5 | proxy => 1, |
| 6 | pid_file => 'derekovecs-example.'. `hostname -s | tr -d "\n"` .'.pid', |
| 7 | workers => 4 |
| 8 | }, |
| 9 | |
| 10 | morbo => { |
| 11 | listen => ['http://*:5673'], |
| 12 | workers => 0 |
| 13 | }, |
| 14 | |
| Marc Kupietz | af43614 | 2026-07-30 14:40:10 +0900 | [diff] [blame^] | 15 | # Per worker in-memory caches. The total footprint is workers * max_keys * |
| 16 | # size of a cached result, so keep max_keys small - neighbourhood results |
| 17 | # contain one vector per neighbour. 0 disables the respective cache. |
| 18 | cache => { |
| 19 | max_keys => 50, # neighbourhood (paradigmatic/syntagmatic) results |
| 20 | collocators_max_keys => 200, # classic collocator profiles (JSON) |
| 21 | profiles_max_keys => 200 # similar profiles (JSON) |
| 22 | }, |
| 23 | |
| Marc Kupietz | 3e3e326 | 2022-04-12 23:11:45 +0200 | [diff] [blame] | 24 | w2v => { |
| Marc Kupietz | 49c5cf0 | 2024-08-06 10:30:44 +0200 | [diff] [blame] | 25 | vecs => "example-models/wpd19_10000/wpd19_10000.vecs", |
| Marc Kupietz | 3eeec65 | 2024-11-18 18:30:04 +0100 | [diff] [blame] | 26 | # compare_to => "https://corpora.ids-mannheim.de/openlab/derekovecs", # compare results to this derekovecs instance |
| Marc Kupietz | 49c5cf0 | 2024-08-06 10:30:44 +0200 | [diff] [blame] | 27 | # korap_url => "https://korap.ids-mannheim.de" |
| Marc Kupietz | 3e3e326 | 2022-04-12 23:11:45 +0200 | [diff] [blame] | 28 | }, |
| 29 | |
| Marc Kupietz | 9ae184c | 2023-11-04 18:21:54 +0100 | [diff] [blame] | 30 | downtime_calendar_url => "https://cloud.ids-mannheim.de/remote.php/dav/public-calendars/QfRCG4HriLcZJJRd?export", |
| 31 | |
| Marc Kupietz | 3e3e326 | 2022-04-12 23:11:45 +0200 | [diff] [blame] | 32 | # Piwik => { |
| 33 | # url => 'https://stats.ids-mannheim.de', |
| 34 | # token_auth => 'ad7609a669179c4ebca7c995342f7e12', |
| 35 | # site_id => 16, |
| 36 | # embed => 1 |
| 37 | # }, |
| 38 | } |