mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-07 04:57:02 +02:00
chore: Simplify compose.yaml
healthcheck
This commit is contained in:
parent
ea03808c8f
commit
a76b06521f
@ -25,6 +25,6 @@ services:
|
|||||||
# cap_add:
|
# cap_add:
|
||||||
# - NET_ADMIN
|
# - NET_ADMIN
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "ss --listening --tcp | grep -P 'LISTEN.+:smtp' || exit 1"
|
test: "nc -z localhost 25"
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
retries: 0
|
retries: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user