chore: update period to one second (#583)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2021-07-13 10:28:34 +08:00 committed by GitHub
parent 4df97f464e
commit bcb9a33d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
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"]

View File

@ -8,7 +8,7 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
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"]

View File

@ -8,7 +8,7 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
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"]

View File

@ -8,7 +8,7 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
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" ]