infra-role-elasticsearch-lb/defaults/main.yml

41 lines
973 B
YAML

---
es_lb_service_name: 'elasticsearch'
es_lb_service_path: '/docker/{{ es_lb_service_name }}'
es_lb_compose_path: '{{ es_lb_service_path }}/docker-compose.yml'
# Mandatory variables
es_lb_cluster_name: ~
es_lb_master_nodes: ~
# Docker
es_lb_docker_network_name: '{{ es_lb_service_name }}'
# Node
es_lb_cont_name: '{{ es_lb_service_name }}-lb'
es_lb_cont_vol: '{{ es_lb_service_path }}/lb'
es_lb_cont_tag: '7.17.9'
es_lb_cont_image: 'elasticsearch:{{ es_lb_cont_tag }}'
es_lb_cont_uid: 1000
es_lb_host_uid: '{{ 100000 + es_lb_cont_uid | int }}'
# Ports
es_lb_api_port: 9200
es_lb_node_port: 9300
es_lb_consul_tags:
- '{{ env }}.{{ stage }}'
- '{{ es_lb_cluster_name }}'
es_lb_data_center: do-ams3
es_lb_listen_addr: '0.0.0.0'
es_lb_max_map_count: 262144
es_lb_jvm_g1gc_enabled: false
es_lb_jvm_heap_auto: true
#es_lb_jvm_min_heap: 2g
#es_lb_jvm_max_heap: 2g
# general container management
compose_recreate: 'auto'
compose_state: 'present'
compose_pull: 'always'