Commit 01e2e6be authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Elimina comprobación de salud

Para arrancar el servicio, es necesario poder resolver las IP de los
diferentes tasks a través del DNS "elasticsearch", pero esto no es
posible hasta que al menos 1 de ellos esté saludable, y esto no ocurre
hasta que ha conseguido resolver el DNS en cuestión. Por tanto,
inicialmente no se puede establecer healthcheck.
parent 613ff443
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -35,12 +35,6 @@ services:
      memlock:
        soft: -1
        hard: -1
    healthcheck:
      test: "curl -s https://localhost:9200 | grep -q 'missing authentication credentials'"
      interval: ${HEALTHCHECK_INTERVAL:-30s}
      timeout: ${HEALTHCHECK_TIMEOUT:-15s}
      retries: ${HEALTHCHECK_RETRIES:-10}
      start_period: ${HEALTHCHECK_START_PERIOD:-5m}
    deploy:
      mode: replicated
      replicas: ${REPLICAS:-3}