| 1 |
*************** |
| 2 |
Advanced Topics |
| 3 |
*************** |
| 4 |
|
| 5 |
LDAP |
| 6 |
==== |
| 7 |
|
| 8 |
The `BioMAJ watcher <https://github.com/genouest/biomaj-watcher>`__, |
| 9 |
provides an optional web interface to manage banks. Users can create |
| 10 |
"private" banks and manage them via the web. |
| 11 |
|
| 12 |
ElasticSearch |
| 13 |
============= |
| 14 |
|
| 15 |
In order to use the ``--search`` flag, you may wish to connect an |
| 16 |
ElasticSearch cluster. |
| 17 |
|
| 18 |
You will need to edit your ``global.properties`` to indicate where the ES servers are: |
| 19 |
|
| 20 |
.. code:: ini |
| 21 |
|
| 22 |
use_elastic=0 |
| 23 |
#Comma separated list of elasticsearch nodes host1,host2:port2 |
| 24 |
elastic_nodes=localhost |
| 25 |
elastic_index=biomaj |
| 26 |
# Calculate data.dir size stats |
| 27 |
data.stats=1 |
| 28 |
|
| 29 |
An example ``docker-compose.yml`` would use this: |
| 30 |
|
| 31 |
.. literalinclude:: docker-compose-advanced.yml |
| 32 |
:language: yaml |
| 33 |
|
| 34 |
And a modified ``global.properties`` referenced in that file would enable elasticsearch: |
| 35 |
|
| 36 |
.. literalinclude:: global.advanced.properties |
| 37 |
:language: ini |