| 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 | b3cd59f | 2026-08-21 10:47:45 +0200 | [diff] [blame^] | 24 | # Crawlers that collect training data for language models are answered with |
| 25 | # 403 before anything is computed. The value is a regular expression that is |
| 26 | # matched against the User-Agent header; the built in list is in |
| 27 | # script/derekovecs-server. An empty string switches the blocking off. |
| 28 | # robots => { |
| 29 | # block_user_agents => 'GPTBot|ClaudeBot|Meta-ExternalAgent|CCBot' |
| 30 | # }, |
| 31 | |
| Marc Kupietz | 3e3e326 | 2022-04-12 23:11:45 +0200 | [diff] [blame] | 32 | w2v => { |
| Marc Kupietz | 49c5cf0 | 2024-08-06 10:30:44 +0200 | [diff] [blame] | 33 | vecs => "example-models/wpd19_10000/wpd19_10000.vecs", |
| Marc Kupietz | 3eeec65 | 2024-11-18 18:30:04 +0100 | [diff] [blame] | 34 | # 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] | 35 | # korap_url => "https://korap.ids-mannheim.de" |
| Marc Kupietz | 3e3e326 | 2022-04-12 23:11:45 +0200 | [diff] [blame] | 36 | }, |
| 37 | |
| Marc Kupietz | 9ae184c | 2023-11-04 18:21:54 +0100 | [diff] [blame] | 38 | downtime_calendar_url => "https://cloud.ids-mannheim.de/remote.php/dav/public-calendars/QfRCG4HriLcZJJRd?export", |
| 39 | |
| Marc Kupietz | 3e3e326 | 2022-04-12 23:11:45 +0200 | [diff] [blame] | 40 | # Piwik => { |
| 41 | # url => 'https://stats.ids-mannheim.de', |
| 42 | # token_auth => 'ad7609a669179c4ebca7c995342f7e12', |
| 43 | # site_id => 16, |
| 44 | # embed => 1 |
| 45 | # }, |
| 46 | } |