Healthcheck was fixed upstream
This commit is contained in:
parent
f685830436
commit
92baeb8236
|
@ -17,12 +17,6 @@ services:
|
||||||
- postfix
|
- postfix
|
||||||
volumes:
|
volumes:
|
||||||
- "./data:/etc/opendkim/keys:rw"
|
- "./data:/etc/opendkim/keys:rw"
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "printf \"EHLO healthcheck\\nquit\\n\" | { while read l ; do sleep 1; echo $$l; done } | nc -w 2 127.0.0.1 587 | grep -qE \"^220.*ESMTP Postfix\""]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 3
|
|
||||||
start_period: 10s
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
{{ apps_postfix_docker_network }}:
|
{{ apps_postfix_docker_network }}:
|
||||||
|
|
Loading…
Reference in a new issue