Commit 16a3ae42 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Prueba a recuperar healthcheck junto con discovery

parent 5592a163
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -14,6 +14,12 @@ services:
      - ELASTIC_USER
      - ELASTIC_USER_PASS
      - ELASTIC_USER_ROLE
    healthcheck:
      test: curl -sSf -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" http://localhost:${PORT1}/_cluster/health > /dev/null
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 2m

networks:
  elastic-net: