chore: update TCP healthcheck for multiple mail services
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
05a0388dd6
commit
7516b3b234
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ RUN apt-get update \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=5s --retries=3 --start-period=120s \
|
HEALTHCHECK --interval=30s --timeout=5s --retries=3 --start-period=120s \
|
||||||
CMD /bin/bash -c "true < /dev/tcp/localhost/25"
|
CMD /bin/bash -c "true < /dev/tcp/localhost/25 && true < /dev/tcp/localhost/143 && true < /dev/tcp/localhost/1025 && true < /dev/tcp/localhost/1143"
|
||||||
|
|
||||||
ENTRYPOINT ["/protonmail/entrypoint.sh"]
|
ENTRYPOINT ["/protonmail/entrypoint.sh"]
|
||||||
CMD ["run"]
|
CMD ["run"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue