From 8d10939e11436d8ba8c31a3e0eba1e8c9ac38752 Mon Sep 17 00:00:00 2001 From: Umputun Date: Tue, 2 Jan 2018 13:28:39 -0600 Subject: [PATCH] add health check --- Dockerfile | 1 + LICENSE | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1ee3b4f0..d8029569 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ USER umputun WORKDIR /srv EXPOSE 8080 +HEALTHCHECK --interval=30s --timeout=3s CMD curl --fail http://localhost:8080/ping || exit 1 CMD ["/srv/remark"] ENTRYPOINT ["/init.sh"] diff --git a/LICENSE b/LICENSE index 0ea086ab..ca125214 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 Umputun +Copyright (c) 2018 Umputun Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal