# ELK Multi node Cluster using docker compose

**URL:** <https://discuss.elastic.co/t/elk-multi-node-cluster-using-docker-compose/366149>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [September 6, 2024, 12:00pm UTC](https://discuss.elastic.co/t/elk-multi-node-cluster-using-docker-compose/366149 "2024-09-06T12:00:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarathrock](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sarathrock/32/136828_2.png) [@sarathrock](https://discuss.elastic.co/u/sarathrock)\
**Post date:** [September 6, 2024, 12:00pm UTC](https://discuss.elastic.co/t/elk-multi-node-cluster-using-docker-compose/366149/1 "2024-09-06T12:00:16Z")

</div>

iam trying to setup ELK Multi node Cluster using docker compose  
Server details  
Master: 10.100.10.01  
Node-1: 10.100.10.02  
node-2: 10.100.10.03

Can you pls help me

---

<div class="post-metadata">

**Author:** ![sarathrock](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sarathrock/32/136828_2.png) [@sarathrock](https://discuss.elastic.co/u/sarathrock)\
**Post date:** [September 11, 2024, 7:15am UTC](https://discuss.elastic.co/t/elk-multi-node-cluster-using-docker-compose/366149/2 "2024-09-11T07:15:38Z")

</div>

Hi Everyone

Can you please help me

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 11, 2024, 2:08pm UTC](https://discuss.elastic.co/t/elk-multi-node-cluster-using-docker-compose/366149/3 "2024-09-11T14:08:42Z")

</div>

Hi @sarathrock You will need to provide a lot more information than that...

Have you looked at the documentation?

> **[Install Elasticsearch with Docker | Elasticsearch Guide \[8.15\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html)**

Please follow, and when you have a specific question, please let us know ...

You will need to share your configurations and then share the logs etc...

---

<div class="post-metadata">

**Author:** ![sarathrock](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sarathrock/32/136828_2.png) [@sarathrock](https://discuss.elastic.co/u/sarathrock)\
**Post date:** [September 16, 2024, 4:01am UTC](https://discuss.elastic.co/t/elk-multi-node-cluster-using-docker-compose/366149/4 "2024-09-16T04:01:26Z")

</div>

Hi @stephenb

this is my configuration

```auto
version: '3.8'
services:
  elasticsearch:
    container_name: elasticsearch-master
    image: docker.elastic.co/elasticsearch/elasticsearch:8.5.0
    restart: unless-stopped
    environment:
      - node.name=master-node
      - cluster.name=elk-cluster
      - discovery.seed_hosts=10.16.55.102,10.16.59.102
      - cluster.initial_master_nodes=master-node,worker-node
      - network.host=0.0.0.0
      - bootstrap.memory_lock=true
      - "ES_JAVA_OPTS=-Xms2g -Xmx2g"
      - xpack.security.enabled=false
      - ELASTICSEARCH_USERNAME=elastic
      - ELASTIC_PASSWORD=IcXelk_2022
      - KIBANA_SYSTEM_USERNAME=kibana_system
      - KIBANA_SYSTEM_PASSWORD=IcXKib@na_2022
      - LOGSTASH_SYSTEM_USERNAME=logstash_system
      - LOGSTASH_SYSTEM_PASSWORD=IcXLogst@sh_2022
      - BEATS_SYSTEM_USERNAME=beats_system
      - BEATS_SYSTEM_PASSWORD=IcXBeats_2022
      - "ES_LOGGING_LEVEL=DEBUG" # Add this line
      - "ES_LOGGING_ORG_ELASTICSEARCH_DISCOVERY=DEBUG" # Add this line
      - "ES_LOGGING_ORG_ELASTICSEARCH_CLUSTER=DEBUG"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
      - esdata1:/usr/share/elasticsearch/data:rw
    ports:
      - 9200:9200
      - 9300:9300
    network_mode: bridge
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "50"

volumes:
  esdata1:
    driver: local

```

this was not creating cluster, and it is asking ssl Certs,

I have generated open SSL certs but still getting same.

Can you please tell me is it possible to use without SSL.

---

<div class="post-metadata">

**Author:** ![sarathrock](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sarathrock/32/136828_2.png) [@sarathrock](https://discuss.elastic.co/u/sarathrock)\
**Post date:** [September 27, 2024, 5:15am UTC](https://discuss.elastic.co/t/elk-multi-node-cluster-using-docker-compose/366149/5 "2024-09-27T05:15:44Z")

</div>

Hi Everyone

Please help me.
