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

Corrige y relaja check de salud, compatible con sh

parent 2a1bb085
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ services:
    logging:
      driver: json-file
    healthcheck:
      test: "[ $$(curl --silent localhost:${PORT}/_cat/health?h=status) = 'green' ]"
      test: "[[ $$(curl --silent localhost:${PORT}/_cat/health?h=status) =~ ^(red|yellow) ]]"
      interval: 30s
      timeout: 1m
      retries: 20
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ services:
    logging:
      driver: json-file
    healthcheck:
      test: "[ $$(curl --silent localhost:${PORT}/_cat/health?h=status) = 'green' ]"
      test: "[[ $$(curl --silent localhost:${PORT}/_cat/health?h=status) =~ ^(red|yellow) ]]"
      interval: 30s
      timeout: 1m
      retries: 20
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ services:
    logging:
      driver: json-file
    healthcheck:
      test: "[ $$(curl --silent localhost:${PORT}/_cat/health?h=status) = 'green' ]"
      test: "[[ $$(curl --silent localhost:${PORT}/_cat/health?h=status) =~ ^(red|yellow) ]]"
      interval: 30s
      timeout: 1m
      retries: 20