From 43f331f798ef83548aab011e76ab2d024ef61d13 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sun, 4 Aug 2019 09:26:54 +0200 Subject: [PATCH] Add healthcheck --- CHANGELOG.md | 4 ++++ Dockerfile | 3 +++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f006e81..fb3c435 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 20308-RC2 (2019/08/04) + +* Add healthcheck + ## 20308-RC1 (2019/07/30) * JetBrains License Server 20308 diff --git a/Dockerfile b/Dockerfile index ae2c3d3..ee4ee79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,3 +42,6 @@ VOLUME [ "/data" ] ENTRYPOINT [ "/entrypoint.sh" ] CMD [ "/usr/local/bin/license-server", "run" ] + +HEALTHCHECK --interval=10s --timeout=5s \ + CMD license-server status