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" ]