chore: update period to one second (#583)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
4df97f464e
commit
bcb9a33d43
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue