From bcb9a33d43134a92d69d3f386b745cdf4a5a2986 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 13 Jul 2021 10:28:34 +0800 Subject: [PATCH] chore: update period to one second (#583) Signed-off-by: Bo-Yi Wu --- docker/Dockerfile.linux.amd64 | 2 +- docker/Dockerfile.linux.arm | 2 +- docker/Dockerfile.linux.arm64 | 2 +- docker/Dockerfile.windows.amd64 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile.linux.amd64 b/docker/Dockerfile.linux.amd64 index 33be196..784ea73 100644 --- a/docker/Dockerfile.linux.amd64 +++ b/docker/Dockerfile.linux.amd64 @@ -8,7 +8,7 @@ LABEL maintainer="Bo-Yi Wu " \ COPY release/linux/amd64/gorush /bin/ EXPOSE 8088 9000 -HEALTHCHECK --start-period=2s --interval=10s --timeout=5s \ +HEALTHCHECK --start-period=1s --interval=10s --timeout=5s \ CMD ["/bin/gorush", "--ping"] ENTRYPOINT ["/bin/gorush"] diff --git a/docker/Dockerfile.linux.arm b/docker/Dockerfile.linux.arm index df81791..7e06c24 100644 --- a/docker/Dockerfile.linux.arm +++ b/docker/Dockerfile.linux.arm @@ -8,7 +8,7 @@ LABEL maintainer="Bo-Yi Wu " \ COPY release/linux/arm/gorush /bin/ EXPOSE 8088 9000 -HEALTHCHECK --start-period=2s --interval=10s --timeout=5s \ +HEALTHCHECK --start-period=1s --interval=10s --timeout=5s \ CMD ["/bin/gorush", "--ping"] ENTRYPOINT ["/bin/gorush"] diff --git a/docker/Dockerfile.linux.arm64 b/docker/Dockerfile.linux.arm64 index 0372a26..cc42062 100644 --- a/docker/Dockerfile.linux.arm64 +++ b/docker/Dockerfile.linux.arm64 @@ -8,7 +8,7 @@ LABEL maintainer="Bo-Yi Wu " \ COPY release/linux/arm64/gorush /bin/ EXPOSE 8088 9000 -HEALTHCHECK --start-period=2s --interval=10s --timeout=5s \ +HEALTHCHECK --start-period=1s --interval=10s --timeout=5s \ CMD ["/bin/gorush", "--ping"] ENTRYPOINT ["/bin/gorush"] diff --git a/docker/Dockerfile.windows.amd64 b/docker/Dockerfile.windows.amd64 index 79f8f3b..db2faa2 100644 --- a/docker/Dockerfile.windows.amd64 +++ b/docker/Dockerfile.windows.amd64 @@ -8,7 +8,7 @@ LABEL maintainer="Bo-Yi Wu " \ COPY release/gorush.exe C:/bin/gorush.exe EXPOSE 8088 9000 -HEALTHCHECK --start-period=2s --interval=10s --timeout=5s \ +HEALTHCHECK --start-period=1s --interval=10s --timeout=5s \ CMD ["\\gorush.exe", "--ping"] ENTRYPOINT [ "C:\\bin\\gorush.exe" ]