From 0ab7d95333998fc16ca302d6adac0c9701e83f8d Mon Sep 17 00:00:00 2001 From: Romain Monteil Date: Tue, 9 Jan 2024 05:15:17 +0100 Subject: [PATCH] Replace mailcatcher with mailpit --- symfony/mailer/4.3/manifest.json | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/symfony/mailer/4.3/manifest.json b/symfony/mailer/4.3/manifest.json index 06ca8dd05..c5680355f 100644 --- a/symfony/mailer/4.3/manifest.json +++ b/symfony/mailer/4.3/manifest.json @@ -9,9 +9,20 @@ "docker-compose.override.yml": { "services": [ "mailer:", - " image: sj26/mailcatcher", - " ports: [\"1025\", \"1080\"]" - ] + " image: axllent/mailpit", + " restart: always", + " volumes:", + " - mailer_data:/data", + " ports:", + " - \"1025\"", + " - \"8025\"", + " environment:", + " MP_MAX_MESSAGES: 5000", + " MP_DATA_FILE: /data/mailpit.db", + " MP_SMTP_AUTH_ACCEPT_ANY: 1", + " MP_SMTP_AUTH_ALLOW_INSECURE: 1" + ], + "volumes": ["mailer_data:"] } }, "aliases": ["mailer", "mail"]