blob: 6e61b1540d1f7faf276e7d3376d1ef6b4ee7c9a9 [file] [log] [blame]
Akron754dae52017-09-28 14:54:28 +02001# This is the base configuration file for Kalamar.
2# Further configurations can override these values.
3# To define a new configuration, create a file in the
4# root folder of your application with the name like
5#
6# kalamar.[MYNAME].conf
7#
Akrondbb448c2018-02-14 17:02:36 +01008# To load the configuration, start your application with
Akron754dae52017-09-28 14:54:28 +02009# the environment variable
10#
11# MOJO_MODE=[MYNAME]
12#
13# Further typical configurations in this file include
14#
15# - hypnotoad
Akrondbb448c2018-02-14 17:02:36 +010016# See Mojo::Server::Hypnotoad
Akron754dae52017-09-28 14:54:28 +020017# - MailException
Akrondbb448c2018-02-14 17:02:36 +010018# See Mojolicious::Plugin::MailException
Akron754dae52017-09-28 14:54:28 +020019# - TagHelpers-Pagination
Akrondbb448c2018-02-14 17:02:36 +010020# See Mojolicious::Plugin::TagHelpers::Pagination
Akrondbb448c2018-02-14 17:02:36 +010021# - Localize
22# See Mojolicious::Plugin::Localize
Akronafeca252018-05-23 15:54:28 +020023# - TagHelpers-ContentBlock
24# See Mojolicious::Plugin::TagHelpers::ContentBlock
Akrondffa9392018-10-12 16:26:09 +020025# - CHI
26# See Mojolicious::Plugin::CHI
Akron754dae52017-09-28 14:54:28 +020027
Akron4c33c622018-11-12 13:43:27 +010028# For Plugins,
29# - Piwik
30# See Mojolicious::Plugin::Piwik
31
Akron754dae52017-09-28 14:54:28 +020032# The default Kustvakt api endpoint
33my $api = 'http://localhost:9999/api/';
Nils Diewald5d1ffb42014-05-21 17:45:34 +000034{
Akrone8235be2016-06-27 11:02:18 +020035 Kalamar => {
Akronc7656e92018-08-30 13:33:25 +020036 # Backend server path
37 api_path => $ENV{'KALAMAR_API'} // $api,
38
Akronb7876a82019-07-18 13:09:00 +020039 ## Backend API version
Akronc7656e92018-08-30 13:33:25 +020040 # api_version => '1.0',
Akron754dae52017-09-28 14:54:28 +020041
Akronb7876a82019-07-18 13:09:00 +020042 ## The name of the base corpus,
43 ## for query examples (see kalamar.queries.dict)
44 # examplecorpus => 'dereko',
Akron4c33c622018-11-12 13:43:27 +010045
Akronb7876a82019-07-18 13:09:00 +020046 ## For further Plugins, add them
47 ## to this array:
48 # plugins => [],
49 ## Currently bundled: Piwik, Auth
50
51 ## Add experimental features:
52 # experimental_proxy => 1,
Nils Diewald2329e1d2014-06-12 16:07:57 +000053 },
Akron754dae52017-09-28 14:54:28 +020054
55 # See Mojolicious::Plugin::TagHelpers::MailToChiffre
Akron40cc1d82017-05-10 17:58:16 +020056 'TagHelpers-MailToChiffre' => {
57 method_name => 'PArok',
58 pattern_rotate => 673
Nils Diewald5d1ffb42014-05-21 17:45:34 +000059 }
60}