1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00

fixed healthcheck for CMAK

This commit is contained in:
Slava Krauchanka 2020-11-27 09:20:28 +01:00
parent 95a00353f3
commit e538d12f88

@ -36,4 +36,4 @@ EXPOSE 9000
ENTRYPOINT ["bin/cmak"]
CMD ["-Dconfig.file=conf/application.conf", "-Dhttp.port=9000", "-Dpidfile.path=/dev/null"]
HEALTHCHECK CMD curl -f http://127.0.0.1/api/health || exit 1
HEALTHCHECK CMD curl -f http://127.0.0.1:9000/api/health || exit 1