Commit b0c13d1e authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Deshace disable de health y usa test con variable

parent 261a7d92
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -27,12 +27,11 @@ services:
      - source: alertmanager-config
        target: ${CONFIG_PATH}/alertmanager-tmpl.yml
    healthcheck:
      test: wget --spider -q http://localhost:${PORT}/-/healthy
      test: ${HEALTHCHECK_TEST:-wget --spider -q http://localhost:${PORT}/-/healthy}
      interval: ${HEALTHCHECK_INTERVAL:-1m}
      timeout: ${HEALTHCHECK_TIMEOUT:-15s}
      retries: ${HEALTHCHECK_RETRIES:-10}
      start_period: ${HEALTHCHECK_START_PERIOD:-1m}
      disable: ${HEALTHCHECK_DISABLE:-false}
    deploy:
      mode: replicated
      replicas: ${REPLICAS:-1}