File: admin.rst

package info (click to toggle)
biomaj3 3.1.24-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 784 kB
  • sloc: python: 4,495; sh: 359; makefile: 154
file content (37 lines) | stat: -rw-r--r-- 933 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
***************
Advanced Topics
***************

LDAP
====

The `BioMAJ watcher <https://github.com/genouest/biomaj-watcher>`__,
provides an optional web interface to manage banks. Users can create
"private" banks and manage them via the web.

ElasticSearch
=============

In order to use the ``--search`` flag, you may wish to connect an
ElasticSearch cluster.

You will need to edit your ``global.properties`` to indicate where the ES servers are:

.. code:: ini

    use_elastic=0
    #Comma separated list of elasticsearch nodes  host1,host2:port2
    elastic_nodes=localhost
    elastic_index=biomaj
    # Calculate data.dir size stats
    data.stats=1

An example ``docker-compose.yml`` would use this:

.. literalinclude:: docker-compose-advanced.yml
   :language: yaml

And a modified ``global.properties`` referenced in that file would enable elasticsearch:

.. literalinclude:: global.advanced.properties
   :language: ini