# Ingest Node Docker Env Variables

**URL:** <https://discuss.elastic.co/t/ingest-node-docker-env-variables/215139>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [January 15, 2020, 1:26pm UTC](https://discuss.elastic.co/t/ingest-node-docker-env-variables/215139 "2020-01-15T13:26:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkogav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darkogav/32/69654_2.png) [@darkogav](https://discuss.elastic.co/u/darkogav)\
**Post date:** [January 15, 2020, 1:26pm UTC](https://discuss.elastic.co/t/ingest-node-docker-env-variables/215139/1 "2020-01-15T13:26:06Z")

</div>

Hi, is there a doc or a place to confirm the environment variables of a docker cluster with 2 ingest nodes? I have nodes es01 .. es05. 01 .. 03 are data nodes and master. 04 and 05 are ingest nodes.

Do I need to reference the secondary ingest node in any way? I can't tell from the docs. Below is my docker compose section.

```
es04:
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.1
container_name: es04
restart: unless-stopped
environment:
  - node.name=es04
  - node.master=false
  - node.data=false
  - node.voting_only=false
  - node.ingest=true
  - cluster.name=cluster01
  - discovery.seed_hosts=es01,es02,es03
  - ELASTIC_USERNAME=$ELASTIC_USERNAME
  - ELASTIC_PASSWORD=$ELASTIC_PASSWORD
  - bootstrap.memory_lock=true
  - xpack.license.self_generated.type=basic
  - xpack.security.enabled=true
  - xpack.security.http.ssl.enabled=true
  - xpack.security.http.ssl.key=$CERTS_DIR/es04/es04.key
  - xpack.security.http.ssl.certificate_authorities=$CERTS_DIR/ca/ca.crt
  - xpack.security.http.ssl.certificate=$CERTS_DIR/es04/es04.crt
  - xpack.security.transport.ssl.enabled=true
  - xpack.security.transport.ssl.verification_mode=certificate
  - xpack.security.transport.ssl.certificate_authorities=$CERTS_DIR/ca/ca.crt
  - xpack.security.transport.ssl.certificate=$CERTS_DIR/es04/es04.crt
  - xpack.security.transport.ssl.key=$CERTS_DIR/es04/es04.key
  - "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
ulimits:
  memlock:
    soft: -1
    hard: -1
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 12, 2020, 1:26pm UTC](https://discuss.elastic.co/t/ingest-node-docker-env-variables/215139/2 "2020-02-12T13:26:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
