mirror of https://github.com/SystemRage/py-kms.git
Fix healthcheck to netcat to actual IP
This commit is contained in:
parent
7979f40e5e
commit
943a63d68f
|
@ -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…
Reference in New Issue