|
| 1 | +OMERO Searchengine |
| 2 | +================== |
| 3 | + |
| 4 | +[](https://github.com/ome/ansible-role-omero-ms-image-region/actions) |
| 5 | +[](https://galaxy.ansible.com/ui/standalone/roles/ome/omero_ms_image_region/) |
| 6 | + |
| 7 | +Installs and configures the OMERO Searchengine. |
| 8 | + |
| 9 | +Dependencies |
| 10 | +------------ |
| 11 | + |
| 12 | +OMERO.docker.web is required. |
| 13 | + |
| 14 | + |
| 15 | +Role Variables |
| 16 | +-------------- |
| 17 | + |
| 18 | +- `apps_folder': The application based older |
| 19 | +- 'database_server_url': The omero database url |
| 20 | +- 'database_port': The omero database port |
| 21 | +- 'database_name' :The omero database name (e.g. omero) |
| 22 | +- 'database_username': the omero database user name |
| 23 | +- 'database_user_password': the database user password |
| 24 | +- 'default_datasource': The default datasource |
| 25 | +- 'search_engineelasticsearch_docker_image': The elasticsearch image, default is 'docker.elastic.co/elasticsearch/elasticsearch:9.2.1' |
| 26 | +- 'searchengine_docker_image': The searchengine docker image |
| 27 | +- 'automatic_refresh': if the searchengine configuration is modified, the app will load the new configure in case of this varibale is true |
| 28 | +- 'searchengine_secret_key': The search engine secret key |
| 29 | +- 'searchengineurlprefix': Url prefix for the searchengine, default is 'searchengine' |
| 30 | +- 'elasticsearch_no_nodes': Number of nodes in the elasticsearch cluster3 |
| 31 | +- 'elasticsearch_backup_folder': Elasticsearch data backup folder |
| 32 | +- 'ca_password' : Ca password for the Elasticsearch certificate |
| 33 | +- 'keystore_password' : keystore password for the Elasticsearch cluster |
| 34 | +- 'elastic_password': The password for the Elasticsearch user |
| 35 | +- 'data_dump_folder': The data dump folder, will be used in case of asynchronize search and containers BFF |
| 36 | +- 'nginx_port': The port which Nginx should use |
| 37 | +- 'cache_rows': The number of the rows which indexing process can handle on a time |
| 38 | +- 'no_index_processes': Number of parallel processes which can be be used in the indexing process |
| 39 | + |
| 40 | +Example Playbook |
| 41 | +---------------- |
| 42 | + |
| 43 | + - name: Deploying search engine |
| 44 | + connection: local |
| 45 | + hosts: localhost |
| 46 | + become: true |
| 47 | + |
| 48 | + roles: |
| 49 | + - role: omero_searchengine |
| 50 | + vars: |
| 51 | + - elastic_password: Jlsp2cZirz6G56&^hdlhkf7 |
| 52 | + - apps_folder: /data |
| 53 | + - asynchronous_search: true |
| 54 | + - automatic_refresh: true |
| 55 | + - cache_rows: 50000 |
| 56 | + - database_name: idr |
| 57 | + - database_user_password: GDj2PSoCYYwt2BvWvsT3xePW42TocQ8ZaIpfFWIBjCJX |
| 58 | + - database_port: '5432' |
| 59 | + - database_server_url: 192.168.10.38 |
| 60 | + - database_username: omeroreadonly |
| 61 | + - elasticsearch_backup_folder: /searchengine_backup |
| 62 | + - searchengine_secret_key : searchengine_secret_key |
| 63 | + - verify_certs: false |
| 64 | + - quires_folder: quires/ |
| 65 | + - data_dump_folder: /data/data_dump/ |
| 66 | + - default_datasource: omero |
| 67 | + - searchengineurlprefix: "searchengine" |
| 68 | + - ca_password: "ca_password_1234" |
| 69 | + - keystore_password: "keystore_password_1234" |
| 70 | + - no_index_processes: 6 |
| 71 | + - elasticsearch_no_nodes: 3 |
| 72 | + - nginx_port: 8080 |
0 commit comments