Bug 24857: No words
[koha.git] / t / data / koha-conf.xml
1 <yazgfs>
2 <!-- [scheme:]host[:port][/databaseName] -->
3 <!-- scheme: tcp, ssl, unix, http, sru -->
4 <!-- can run all servers on tcp, but the unix socket is faster -->
5
6 <listen id="biblioserver" >unix:/home/koha/var/run/zebradb/bibliosocket</listen>
7 <listen id="authorityserver" >unix:/home/koha/var/run/zebradb/authoritysocket</listen>
8
9 <!-- Uncomment the following entry if you want to run the public Z39.50 server.
10     Also uncomment the <server> and <serverinfo> sections for id 'publicserver'
11     under PUBLICSERVER'S BIBLIOGRAPHIC RECORDS title-->
12 <!--
13 <listen id="publicserver" >tcp:@:9998</listen>
14 -->
15
16 <!-- BIBLIOGRAPHIC RECORDS -->
17 <server id="biblioserver"  listenref="biblioserver">
18     <directory>/home/koha/var/lib/zebradb/biblios</directory>
19     <config>/home/koha/etc/zebradb/zebra-biblios-dom.cfg</config>
20     <cql2rpn>/home/koha/etc/zebradb/pqf.properties</cql2rpn>
21     <xi:include href="/home/koha/etc/zebradb/retrieval-info-bib-dom.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
22     <xi:include href="/home/koha/etc/zebradb/explain-biblios.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
23 </server>
24 <serverinfo id="biblioserver">
25         <ccl2rpn>/home/koha/etc/zebradb/ccl.properties</ccl2rpn>
26         <user>kohauser</user>
27         <password>zebrastripes</password>
28 </serverinfo>
29
30 <!-- AUTHORITY RECORDS -->
31 <server id="authorityserver"  listenref="authorityserver" >
32     <directory>/home/koha/var/lib/zebradb/authorities</directory>
33     <config>/home/koha/etc/zebradb/zebra-authorities-dom.cfg</config>
34     <cql2rpn>/home/koha/etc/zebradb/pqf.properties</cql2rpn>
35     <xi:include href="/home/koha/etc/zebradb/retrieval-info-auth-dom.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
36     <xi:include href="/home/koha/etc/zebradb/explain-authorities.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
37 </server>
38 <serverinfo id="authorityserver">
39     <ccl2rpn>/home/koha/etc/zebradb/ccl.properties</ccl2rpn>
40     <user>kohauser</user>
41     <password>zebrastripes</password>
42 </serverinfo>
43
44 <!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS -->
45 <!--
46 <server id="publicserver"  listenref="publicserver">
47     <directory>/home/koha/var/lib/zebradb/biblios</directory>
48     <config>/home/koha/etc/zebradb/zebra-biblios-dom.cfg</config>
49     <cql2rpn>/home/koha/etc/zebradb/pqf.properties</cql2rpn>
50     <xi:include href="/home/koha/etc/zebradb/retrieval-info-bib-dom.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
51     <xi:include href="/home/koha/etc/zebradb/explain-biblios.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
52 </server>
53 <serverinfo id="publicserver">
54         <ccl2rpn>/home/koha/etc/zebradb/ccl.properties</ccl2rpn>
55         <user>kohauser</user>
56         <password>zebrastripes</password>
57 </serverinfo>
58 -->
59
60 <!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE -->
61 <!-- db_scheme should follow the DBD driver name -->
62 <!-- the DBD drivers supported by Koha are mysql and Pg -->
63 <!-- port info: mysql:3306 Pg:5432 (5433 on Debian) -->
64 <config>
65  <db_scheme>mysql</db_scheme>
66  <database>koha</database>
67  <hostname>localhost</hostname>
68  <port>3306</port>
69  <user>kohaadmin</user>
70  <pass>katikoan</pass>
71  <tls>no</tls>
72  <ca></ca>
73  <cert></cert>
74  <key></key>
75  <biblioserver>biblios</biblioserver>
76  <biblioservershadow>1</biblioservershadow>
77  <authorityserver>authorities</authorityserver>
78  <authorityservershadow>1</authorityservershadow>
79  <pluginsdir>/home/koha/var/lib/plugins</pluginsdir> <!-- This entry can be repeated to use multiple directories -->
80  <enable_plugins>0</enable_plugins>
81  <upload_path></upload_path>
82  <tmp_path></tmp_path>
83  <intranetdir>/home/koha/src</intranetdir>
84  <opacdir>/home/koha/src/opac</opacdir>
85  <opachtdocs>/home/koha/src/koha-tmpl/opac-tmpl</opachtdocs>
86  <intrahtdocs>/home/koha/src/koha-tmpl/intranet-tmpl</intrahtdocs>
87  <includes>/home/koha/src/koha-tmpl/intranet-tmpl/prog/en/includes/</includes>
88  <logdir>/home/koha/var/log</logdir>
89  <docdir>/home/koha/doc</docdir>
90  <backupdir>/home/koha/var/spool</backupdir>
91  <!-- URL of the mana KB server -->
92  <!-- alternative value http://mana-test.koha-community.org to query the test server -->
93  <mana_config>https://mana-kb.koha-community.org</mana_config>
94  <!-- Enable the two following to allow superlibrarians to download
95       database and configuration dumps (respectively) from the Export
96       tool -->
97  <backup_db_via_tools>0</backup_db_via_tools>
98  <backup_conf_via_tools>0</backup_conf_via_tools>
99  <!-- Uncomment the following line if you are not using packages and need to schedule reports through the web interface. supportdir should contain cronjobs/runreport.pl -->
100  <!--
101  <supportdir>/home/koha/src/misc</supportdir>
102  -->
103  <install_log>/home/koha/misc/koha-install-log</install_log>
104  <useldapserver>1</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
105  <ldapserver id="ldapserver">
106   <hostname>ldap://another_ldap_server:389</hostname>
107   <user>user</user>
108   <pass>password</pass>
109   <mapping>
110    <firstname is="givenName" ></firstname>
111   </mapping>
112  </ldapserver>
113  <useshibboleth>0</useshibboleth><!-- see C4::Auth_with_shibboleth for extra configs you must do to turn this on -->
114  <zebra_lockdir>/home/koha/var/lock/zebradb</zebra_lockdir>
115  <lockdir>__LOCK_DIR__</lockdir>
116  <use_zebra_facets>1</use_zebra_facets>
117  <zebra_max_record_size>1024</zebra_max_record_size>
118  <log4perl_conf>/home/koha/etc/log4perl.conf</log4perl_conf>
119  <!-- Uncomment/edit next setting if you want to adjust zebra log levels.
120       Default is: none,fatal,warn.
121       You can also include: debug,log,malloc,all,request.
122       Use a comma-separated list of levels to include. -->
123  <!-- <zebra_loglevels>none,fatal,warn</zebra_loglevels> -->
124  <memcached_servers>127.0.0.1:11211</memcached_servers>
125  <memcached_namespace>KOHA</memcached_namespace>
126  <template_cache_dir>/tmp/koha</template_cache_dir>
127
128  <!-- Secret passphrase used by Mojolicious for signed cookies -->
129  <api_secret_passphrase>CHANGEME</api_secret_passphrase>
130
131  <!-- Accessible directory from the staff client, uncomment the following line and define a valid path to let the intranet user access it-->
132  <access_dirs>
133      <access_dir>/dir_1</access_dir>
134      <access_dir>/dir_2</access_dir>
135  </access_dirs>
136
137  <!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm -->
138  <ttf>
139     <font type="TR" >/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf</font>
140     <font type="TB" >/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf</font>
141     <font type="TI" >/usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf</font>
142     <font type="TBI">/usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf</font>
143     <font type="C"  >/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf</font>
144     <font type="CB" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf</font>
145     <font type="CO" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf</font>
146     <font type="CBO">/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf</font>
147     <font type="H"  >/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf</font>
148     <font type="HO" >/usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf</font>
149     <font type="HB" >/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf</font>
150     <font type="HBO">/usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf</font>
151  </ttf>
152
153  <!-- Path to the config file for SMS::Send -->
154  <sms_send_config>/home/koha/etc/sms_send/</sms_send_config>
155
156  <!-- Configuration for Plack -->
157  <plack_max_requests>50</plack_max_requests>
158  <plack_workers>2</plack_workers>
159
160  <!-- Configuration for X-Forwarded-For -->
161  <!--
162  <koha_trusted_proxies>1.2.3.4 2.3.4.5 3.4.5.6</koha_trusted_proxies>
163  -->
164
165  <!-- Elasticsearch Configuration -->
166  <elasticsearch>
167      <server>localhost:9200</server>
168      <index_name>koha_master</index_name>
169
170      <!-- See https://metacpan.org/pod/Search::Elasticsearch#cxn_pool -->
171      <cxn_pool>Static</cxn_pool>
172      <!-- See https://metacpan.org/pod/Search::Elasticsearch#trace_to -->
173      <!-- <trace_to>Stderr</trace_to> -->
174  </elasticsearch>
175  <!-- Uncomment the following line if you want to override the Elasticsearch default index settings -->
176  <!-- <elasticsearch_index_config>/home/koha/etc/searchengine/elasticsearch/index_config.yaml</elasticsearch_index_config> -->
177  <!-- Uncomment the following line if you want to override the Elasticsearch default field settings -->
178  <!-- <elasticsearch_field_config>/home/koha/etc/searchengine/elasticsearch/field_config.yaml</elasticsearch_field_config> -->
179  <!-- Uncomment the following line if you want to override the Elasticsearch index default settings.
180       Note that any changes made to the mappings file only take effect if you reset the mappings in
181       by visiting /cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1&reset_fields=1.
182       Resetting mappings will override any changes made in the Search engine configuration UI.
183  -->
184  <!-- <elasticsearch_index_mappings>/home/koha/etc/searchengine/elasticsearch/mappings.yaml</elasticsearch_index_mappings> -->
185
186  <interlibrary_loans>
187      <!-- Path to where Illbackends are located on the system
188           - This setting should normally not be touched -->
189      <backend_directory>/home/koha/src/Koha/Illbackends</backend_directory>
190      <!-- At least one <branch> block is required. -->
191      <branch>
192          <!-- The code of this branch -->
193          <code>CPL</code>
194          <!-- An optional prefix for all ILL request IDs for this branch -->
195          <prefix>ILL</prefix>
196      </branch>
197      <!-- How should we treat staff comments?
198           - hide: don't show in OPAC
199           - show: show in OPAC -->
200      <staff_request_comments>hide</staff_request_comments>
201      <!-- How should we treat the reply_date field?
202           - hide: don't show this field in the UI
203           - any other string: show, with this label -->
204      <reply_date>hide</reply_date>
205      <!-- Where should digital ILLs be sent?
206           - borrower: send it straight to the borrower email
207           - branch: send the ILL to the branch email -->
208      <digital_recipient>branch</digital_recipient>
209      <!-- What patron category should we use for p2p ILL requests?
210           - By default this is set to 'ILLLIBS' -->
211      <partner_code>ILLLIBS</partner_code>
212  </interlibrary_loans>
213
214  <!-- The timezone setting can let you force the timezone for this
215       instance to be something other then the local timezone of the
216       server. e.g. Antarctica/South_Pole -->
217  <timezone></timezone>
218
219  <!-- This is the bcrypt settings used to generated anonymized content -->
220  <bcrypt_settings>__BCRYPT_SETTINGS__</bcrypt_settings>
221
222  <!-- Encryption key for crypted password or sensitive data -->
223  <encryption_key>__ENCRYPTION_KEY__</encryption_key>
224
225  <!-- flag for development purposes
226       dev_install is used to adjust some paths specific to dev installations
227       strict_sql_modes should not be used in a production environment
228       developers use it to catch bugs related to strict SQL modes -->
229  <dev_install>0</dev_install>
230  <strict_sql_modes>0</strict_sql_modes>
231  <plugin_repos>
232     <!--
233     <repo>
234         <name>ByWater Solutions</name>
235         <org_name>bywatersolutions</org_name>
236         <service>github</service>
237     </repo>
238     <repo>
239         <name>Theke Solutions</name>
240         <org_name>thekesolutions</org_name>
241         <service>gitlab</service>
242     </repo>
243     <repo>
244         <name>PTFS Europe</name>
245         <org_name>ptfs-europe</org_name>
246         <service>github</service>
247     </repo>
248     -->
249  </plugin_repos>
250
251  <koha_xslt_security>
252  <!-- Uncomment the following entry ONLY when you explicitly want the XSLT
253       parser to expand entities like <!ENTITY secret SYSTEM "/etc/secrets">.
254       This is unsafe and therefore NOT recommended!
255      <expand_entities_unsafe>1</expand_entities_unsafe>
256  -->
257  </koha_xslt_security>
258
259  <smtp_server>
260     <host>localhost</host>
261     <port>25</port>
262     <timeout>120</timeout>
263     <ssl_mode>disabled</ssl_mode>
264     <user_name></user_name>
265     <password></password>
266     <debug>0</debug>
267  </smtp_server>
268
269  <message_broker>
270    <hostname>localhost</hostname>
271    <port>61613</port>
272    <username>guest</username>
273    <password>guest</password>
274    <vhost></vhost>
275  </message_broker>
276
277 </config>
278 </yazgfs>