mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-13 14:44:50 -04:00
Fix HC interval
This commit is contained in:
parent
008143b1c4
commit
e67f14c7d7
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ WORKDIR /home/py-kms
|
||||||
|
|
||||||
EXPOSE ${PORT}/tcp
|
EXPOSE ${PORT}/tcp
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=10s --retries=4 CMD echo | nc -z localhost ${PORT} || exit 1
|
HEALTHCHECK --interval=5ms --timeout=3s --start-period=10s --retries=4 CMD echo | nc -z localhost ${PORT} || exit 1
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/python3", "-u","/usr/bin/entrypoint.py"]
|
ENTRYPOINT ["/usr/bin/python3", "-u","/usr/bin/entrypoint.py"]
|
||||||
CMD ["/usr/bin/start.py"]
|
CMD ["/usr/bin/start.py"]
|
||||||
|
|
|
@ -57,7 +57,7 @@ WORKDIR /home/py-kms
|
||||||
EXPOSE ${PORT}/tcp
|
EXPOSE ${PORT}/tcp
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=10s --retries=4 CMD echo | nc -z localhost ${PORT} || exit 1
|
HEALTHCHECK --interval=5m --timeout=3s --start-period=10s --retries=4 CMD echo | nc -z localhost ${PORT} || exit 1
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/python3","-u","/usr/bin/entrypoint.py" ]
|
ENTRYPOINT [ "/usr/bin/python3","-u","/usr/bin/entrypoint.py" ]
|
||||||
CMD ["/usr/bin/start.py"]
|
CMD ["/usr/bin/start.py"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue