55 lines
1.0 KiB
YAML
55 lines
1.0 KiB
YAML
|
path:
|
||
|
data: /data
|
||
|
logs: /alloc/logs
|
||
|
|
||
|
cluster:
|
||
|
name: [[ .instance ]]
|
||
|
initial_master_nodes:
|
||
|
- [[ .instance ]]-0
|
||
|
[[- if gt .elasticsearch.server.count 1 ]]
|
||
|
- [[ .instance ]]-1
|
||
|
[[- end ]]
|
||
|
[[- if gt .elasticsearch.server.count 2 ]]
|
||
|
- [[ .instance ]]-2
|
||
|
[[- end ]]
|
||
|
|
||
|
node:
|
||
|
name: [[ .instance ]]-{{ env "NOMAD_ALLOC_INDEX" }}
|
||
|
roles:
|
||
|
- master
|
||
|
- data
|
||
|
- ingest
|
||
|
- transform
|
||
|
|
||
|
http:
|
||
|
port: 9200
|
||
|
host: 127.0.0.1
|
||
|
|
||
|
transport:
|
||
|
port: {{ env "NOMAD_ALLOC_PORT_transport" }}
|
||
|
host: 0.0.0.0
|
||
|
publish_port: {{ env "NOMAD_HOST_PORT_transport" }}
|
||
|
publish_host: {{ env "NOMAD_HOST_IP_transport" }}
|
||
|
|
||
|
discovery:
|
||
|
seed_providers: file
|
||
|
|
||
|
xpack:
|
||
|
watcher:
|
||
|
enabled: false
|
||
|
security:
|
||
|
enabled: true
|
||
|
authc:
|
||
|
anonymous:
|
||
|
username: anonymous
|
||
|
roles: health
|
||
|
transport:
|
||
|
ssl:
|
||
|
enabled: True
|
||
|
verification_mode: full
|
||
|
client_authentication: required
|
||
|
key: /secrets/es.key
|
||
|
certificate: /secrets/es.crt
|
||
|
certificate_authorities: /secrets/ca.crt
|
||
|
|