From 50780d7094b5629b19ae8cab7f21fbdbede7c56f Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Sun, 9 Jul 2023 11:25:42 +0300 Subject: [PATCH] Leave default port internally --- templates/docker-compose.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index 846a984..2a1890b 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -64,7 +64,7 @@ services: - external_network - internal_network healthcheck: - test: ["CMD-SHELL", "curl --silent --fail localhost:{{ es_port }}/_cluster/health || exit 1"] + test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"] volumes: - ./elasticsearch:/usr/share/elasticsearch/data ulimits: @@ -75,7 +75,7 @@ services: soft: 65536 hard: 65536 ports: - - '127.0.0.1:{{ es_port }}:{{ es_port }}' + - '127.0.0.1:{{ es_port }}:9200' {% endif %} web: