Commit 0b258dc6 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Recupera disable de healthcheck corregido

parent b0c13d1e
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -27,7 +27,13 @@ services:
      - source: alertmanager-config
        target: ${CONFIG_PATH}/alertmanager-tmpl.yml
    healthcheck:
      test: ${HEALTHCHECK_TEST:-wget --spider -q http://localhost:${PORT}/-/healthy}
      test: |
        if [ ${HEALTHCHECK_DISABLE:-0} -ne 0 ]
        then
          :
        else
          wget --spider -q http://localhost:${PORT}/-/healthy
        fi
      interval: ${HEALTHCHECK_INTERVAL:-1m}
      timeout: ${HEALTHCHECK_TIMEOUT:-15s}
      retries: ${HEALTHCHECK_RETRIES:-10}