diff --git a/src/maildev-container.js b/src/maildev-container.js index 45e8ab6..e1e7f1b 100644 --- a/src/maildev-container.js +++ b/src/maildev-container.js @@ -21,7 +21,9 @@ export class MaildevContainer extends DockerContainer { image, startupGracePeriod, portMappings: [`${smtpPort}:1025`, `${frontendPort}:1080`], - env, + // Setting this prevents the container healthcheck from failing + // see: https://github.com/maildev/maildev/issues/484#issuecomment-2166433388 + env: { MAILDEV_IP: '::', ...env }, netHost, cmd, onFirstRun