mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-15 20:04:49 +02:00
chore: Simplify compose.yaml
healthcheck
This commit is contained in:
parent
ea03808c8f
commit
a76b06521f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue