2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-03 03:27:27 +01:00

Merge pull request #168 from cordawyn/cmak-fix

Fixed healthcheck for CMAK
This commit is contained in:
Kevin He
2021-01-22 18:07:51 +08:00
committed by GitHub

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