Files
computer-playbook/roles/svc-db-elasticsearch/meta/services.yml

43 lines
1.3 KiB
YAML

---
elasticsearch:
modes:
compose:
enabled: true
swarm:
enabled: true
# nocheck: default-placement-manager engine on-disk state (Lucene index segments + translog fsync/locking) cannot live on NFS, so the central engine is node-local in swarm
placement: manager
enabled: true
shared: true
bond: 1
image: elasticsearch
name: elasticsearch
version: "9.5.5"
min_storage: 1066MB
backup:
database_routine: true
cpus: "2.0"
mem_reservation: 2g
mem_limit: 4g
pids_limit: 1024
ports:
local:
elasticsearch: 9200
internal:
elasticsearch: 9200
onion:
# nocheck: onion-flag the index is queried by the search backends of the apps sharing this stack, never by a client off the node
elasticsearch: false
lifecycle: beta
# nocheck: variants-coverage — sso-variant-tor requires the onion on in every variant, so the false polarity has no variant left to live in
tor:
bond: 0.5
enabled: "{{ 'svc-net-tor' in group_names }}"
shared: true # nocheck: dynamic-flag
# nocheck: playwright-service-flag, dynamic-flag infrastructure backup consumer
container_backup: # nocheck: bond-baseline backup host joins outside the variant topology
bond: 1
enabled: "{{ 'svc-bkp-volume-2-local' in group_names }}"
shared: true