Getting an error for Temporal running on test-container

Thanks tihomir.

on dev env everything is working.
on the test-container it’s not working (that is, a Temporal pod that is instantiated for testing purposes only).

could you think of a reason why this pod does not have this ability or how to enable the ES on it?

added the following to temporal-docker-compose.yaml, but still getting the same error.

  elasticsearch:
    environment:
      - cluster.routing.allocation.disk.threshold_enabled=true
      - cluster.routing.allocation.disk.watermark.low=512mb
      - cluster.routing.allocation.disk.watermark.high=256mb
      - cluster.routing.allocation.disk.watermark.flood_stage=128mb
      - discovery.type=single-node
      - ES_JAVA_OPTS=-Xms256m -Xmx256m
      - xpack.security.enabled=false
    image: elasticsearch:7.16.2
    networks:
      - temporal-network
    ports:
      - 9200:9200
  temporal:
    depends_on:
      - mysql
      - elasticsearch

Thanks,
Shai