Leave default port internally

This commit is contained in:
Antonio J. Delgado 2023-07-09 11:25:42 +03:00
parent 799adb47ec
commit 50780d7094

View file

@ -64,7 +64,7 @@ services:
- external_network - external_network
- internal_network - internal_network
healthcheck: 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: volumes:
- ./elasticsearch:/usr/share/elasticsearch/data - ./elasticsearch:/usr/share/elasticsearch/data
ulimits: ulimits:
@ -75,7 +75,7 @@ services:
soft: 65536 soft: 65536
hard: 65536 hard: 65536
ports: ports:
- '127.0.0.1:{{ es_port }}:{{ es_port }}' - '127.0.0.1:{{ es_port }}:9200'
{% endif %} {% endif %}
web: web: