mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-14 23:24:52 -04:00
Fix healthcheck to netcat to actual IP
This commit is contained in:
parent
7979f40e5e
commit
943a63d68f
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ WORKDIR /home/py-kms
|
|||
EXPOSE ${PORT}/tcp
|
||||
EXPOSE 8080
|
||||
|
||||
HEALTHCHECK --interval=5m --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 ${IP%% *} ${PORT} || exit 1
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/python3","-u","/usr/bin/entrypoint.py" ]
|
||||
CMD ["/usr/bin/start.py"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue