1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

fixed healthcheck for CMAK

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

View File

@ -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