2021-01-20 14:16:57 +00:00
|
|
|
---
|
2022-02-10 20:33:17 +00:00
|
|
|
# ElasticSearch LB needs a bit
|
|
|
|
swap_file_path: '/main.swap'
|
|
|
|
swap_file_size_mb: 2048
|
|
|
|
|
2021-03-22 10:12:49 +00:00
|
|
|
# CloudFlare Origin certificates
|
|
|
|
origin_certs:
|
|
|
|
- domain: 'status.im'
|
2021-08-13 20:05:12 +00:00
|
|
|
crt: '{{lookup("bitwarden", "Cloudflare/status.im", file="origin.crt")}}'
|
|
|
|
key: '{{lookup("bitwarden", "Cloudflare/status.im", file="origin.key")}}'
|
2021-03-22 10:12:49 +00:00
|
|
|
default: true
|
|
|
|
|
2021-01-20 14:16:57 +00:00
|
|
|
# Kibana Dashboard
|
|
|
|
kibana_domain: 'nimbus-logs.infra.status.im'
|
2022-02-10 20:33:17 +00:00
|
|
|
kibana_service_name: 'kibana'
|
|
|
|
kibana_docker_network_name: '{{ kibana_service_name }}'
|
|
|
|
kibana_cont_name: '{{ kibana_service_name }}'
|
2022-07-14 09:03:08 +00:00
|
|
|
kibana_cont_tag: '7.17.5'
|
2021-01-20 14:16:57 +00:00
|
|
|
kibana_cont_port: 5601
|
2022-07-14 09:03:08 +00:00
|
|
|
kibana_es_lb_addr: '{{ es_lb_cont_name }}'
|
|
|
|
kibana_es_lb_port: '{{ es_lb_api_port }}'
|
2021-01-20 14:16:57 +00:00
|
|
|
|
|
|
|
# oauth access
|
2022-06-01 09:43:48 +00:00
|
|
|
oauth_service_name: '{{ kibana_service_name }}'
|
|
|
|
oauth_service_path: '{{ kibana_service_path }}/oauth'
|
2021-01-20 14:16:57 +00:00
|
|
|
oauth_cont_name: '{{ kibana_cont_name }}-oauth'
|
2022-06-01 09:43:48 +00:00
|
|
|
oauth_cont_networks: ['{{ kibana_docker_network_name }}']
|
|
|
|
oauth_domain: '{{ kibana_domain }}'
|
|
|
|
oauth_upstream_addr: '{{ kibana_cont_name }}'
|
2021-01-20 14:16:57 +00:00
|
|
|
oauth_upstream_port: '{{ kibana_cont_port }}'
|
2022-06-01 09:43:48 +00:00
|
|
|
oauth_local_port: 4180
|
|
|
|
oauth_provider: 'github'
|
2021-08-13 20:05:12 +00:00
|
|
|
oauth_id: '{{ lookup("bitwarden", "nimbus/kibana/oauth", field="client-id") }}'
|
|
|
|
oauth_secret: '{{ lookup("bitwarden", "nimbus/kibana/oauth", field="secret") }}'
|
2022-06-01 09:43:48 +00:00
|
|
|
oauth_cookie_secret: '{{ lookup("bitwarden", "nimbus/kibana/oauth", field="cookie-secret") }}'
|
2021-01-20 14:16:57 +00:00
|
|
|
|
|
|
|
# ElasticSearch Load Balancer
|
2022-02-10 20:33:17 +00:00
|
|
|
es_lb_service_name: 'elasticsearch'
|
|
|
|
es_lb_docker_network_name: '{{ kibana_docker_network_name }}'
|
|
|
|
es_lb_cont_name: '{{ es_lb_service_name }}-lb'
|
2022-07-14 09:03:08 +00:00
|
|
|
es_lb_cont_tag: '7.17.5'
|
2021-01-20 14:16:57 +00:00
|
|
|
es_lb_data_center: do-ams3
|
|
|
|
es_lb_cluster_name: 'nimbus-logs-search'
|
2022-02-03 20:38:55 +00:00
|
|
|
es_lb_cluster_dc: 'he-eu-hel1'
|
2021-01-20 14:16:57 +00:00
|
|
|
es_lb_api_port: 9200
|
2021-09-02 10:06:42 +00:00
|
|
|
es_lb_node_port: 9300
|
2021-01-20 14:16:57 +00:00
|
|
|
|
2022-02-07 14:03:59 +00:00
|
|
|
# Cleanup to avoid running out of space
|
2021-01-20 14:16:57 +00:00
|
|
|
logclean_es_host: 'localhost'
|
|
|
|
logclean_es_port: '{{ es_lb_api_port }}'
|
2022-03-29 19:39:42 +00:00
|
|
|
logclean_keep_indices: 14
|
2021-01-20 14:16:57 +00:00
|
|
|
|
|
|
|
# JVM Memory settings
|
|
|
|
es_lb_jvm_min_heap: 2g
|
|
|
|
es_lb_jvm_max_heap: 2g
|
|
|
|
|
|
|
|
# Open Nginx Ports
|
2021-09-02 10:06:42 +00:00
|
|
|
open_ports_default_comment: 'ElasticSearch LB'
|
|
|
|
open_ports_default_chain: 'VPN'
|
2021-01-20 14:16:57 +00:00
|
|
|
open_ports_list:
|
2021-09-02 10:06:42 +00:00
|
|
|
- { port: 80, chain: 'SERVICES', protocol: 'tcp', comment: 'Kiban & Grafana'}
|
|
|
|
- { port: 443, chain: 'SERVICES', protocol: 'tcp', comment: 'Kiban & Grafana' }
|
2022-06-01 09:43:48 +00:00
|
|
|
- { port: '{{ es_lb_api_port }}', ipset: 'logs.nimbus' }
|
|
|
|
- { port: '{{ es_lb_node_port }}', ipset: 'logs.nimbus' }
|
|
|
|
- { port: '{{ oauth_local_port }}', ipset: 'proxy.misc', comment: 'ElasticSearch HQ' }
|