• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs Docker ElasticSearch

elink

New Pleskian
User name: elink

TITLE

Docker ElasticSearch

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk obsidian

PROBLEM DESCRIPTION

impossible to install official elasticsearch 7.6 in docker

ERROR: [1] bootstrap checks failed
[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured

discovery.seed_hosts,
discovery.seed_providers,
cluster.initial_master_nodes

it is impossible to specify a parameter with a dot,plesk does not allow. This prevents the use of the elasticsearch in the docker.

You can start the docker with these parameters from the console and the parameter will appear in the plesk, but it will also be impossible to change the settings in the panel

STEPS TO REPRODUCE

run elastcisearch 7.6 in docker

ACTUAL RESULT

does not work

EXPECTED RESULT

support for points in the parameter name

ANY ADDITIONAL INFORMATION

how to solve?

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Answer the question
 
you must mount (Volume-Mapping) a config file for els. for example

Volume-Mapping:
/usr/share/elasticsearch/config/elasticsearch.yml => /var/www/vhosts/xml/es/elasticsearch.yml

This is only a example:
YAML:
---
## Default Elasticsearch configuration from Elasticsearch base image.
## https://github.com/elastic/elasticsearch/blob/master/distribution/docker/src/docker/config/elasticsearch.yml
#
cluster.name: "docker-cluster"
network.host: 0.0.0.0


discovery.seed_hosts:
   - localhost:9300
   - localhost:9200
   - elasticsearch:9200
   - elasticsearch:9300
cluster.initial_master_nodes:
   - master-node-a

## X-Pack settings
## see https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-xpack.html
#
# xpack.security.enabled: true
# xpack.monitoring.collection.enabled: true

node.store.allow_mmap: false
 
Back
Top