diff --git a/postfix-compose.yaml b/postfix-compose.yaml index fe5531d..3ae540f 100644 --- a/postfix-compose.yaml +++ b/postfix-compose.yaml @@ -13,13 +13,20 @@ services: env_file: .env ports: - '25:25' - - '587:587' volumes: - certs:/certs:ro restart: unless-stopped + healthcheck: + test: ["CMD-SHELL", "nc -w 3 127.0.0.1 25