mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/mailer": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "MAILER_DSN=null://null"
|
||||
},
|
||||
"docker-compose": {
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"mailer:",
|
||||
" image: axllent/mailpit",
|
||||
" ports:",
|
||||
" - \"1025\"",
|
||||
" - \"8025\"",
|
||||
" environment:",
|
||||
" MP_SMTP_AUTH_ACCEPT_ANY: 1",
|
||||
" MP_SMTP_AUTH_ALLOW_INSECURE: 1"
|
||||
]
|
||||
}
|
||||
},
|
||||
"post-install-output": [
|
||||
" * You're ready to send emails.",
|
||||
"",
|
||||
" * If you want to send emails via a supported email provider, install",
|
||||
" the corresponding bridge.",
|
||||
" For instance, <info>composer require mailgun-mailer</> for Mailgun.",
|
||||
"",
|
||||
" * If you want to send emails asynchronously:",
|
||||
"",
|
||||
" 1. Install the messenger component by running <info>composer require messenger</>;",
|
||||
" 2. Add <info>'Symfony\\Component\\Mailer\\Messenger\\SendEmailMessage': amqp</> to the",
|
||||
" <info>config/packages/messenger.yaml</> file under <info>framework.messenger.routing</>",
|
||||
" and replace <info>amqp</> with your transport name of choice.",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc/master/mailer.html</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/mailer.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" mailer:",
|
||||
" dsn: '%env(MAILER_DSN)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "df66ee1f226c46f01e85c29c2f7acce0596ba35a"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,8 +12,13 @@
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"mailer:",
|
||||
" image: sj26/mailcatcher",
|
||||
" ports: [\"1025\", \"1080\"]"
|
||||
" image: axllent/mailpit",
|
||||
" ports:",
|
||||
" - \"1025\"",
|
||||
" - \"8025\"",
|
||||
" environment:",
|
||||
" MP_SMTP_AUTH_ACCEPT_ANY: 1",
|
||||
" MP_SMTP_AUTH_ALLOW_INSECURE: 1"
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -45,7 +50,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "bedeb3d54aa5404e29811c44346a1151f846f741"
|
||||
"ref": "df66ee1f226c46f01e85c29c2f7acce0596ba35a"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user