From 83ea70849018d175c3a60d2750f791fb9b705794 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Wed, 28 Dec 2022 16:26:46 +0100 Subject: [PATCH] fix healthcheck --- core/postfix/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/postfix/Dockerfile b/core/postfix/Dockerfile index dab4396c..df902dd4 100644 --- a/core/postfix/Dockerfile +++ b/core/postfix/Dockerfile @@ -15,7 +15,7 @@ COPY start.py / RUN echo $VERSION >/version EXPOSE 25/tcp 10025/tcp -HEALTHCHECK --start-period=350s CMD echo QUIT|nc localhost 25|grep "220 .* ESMTP Postfix" +HEALTHCHECK --start-period=350s CMD /usr/sbin/postfix status VOLUME ["/queue"]