Skip to content

Commit

Permalink
feat: overwrite symfony/mailer reciep
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Sep 25, 2024
1 parent 11b3e6e commit cdb960b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions symfony/mailer/4.3/config/mailer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
framework:
mailer:
dsn: "%env(MAILER_DSN)%"
26 changes: 26 additions & 0 deletions symfony/mailer/4.3/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "MAILER_HOST=${MAIL_SMTP_HOST:-localhost}",
"#2": "MAILER_PORT=${MAIL_SMTP_PORT:-25}",
"#3": "MAILER_PARAMETERS=${MAIL_SMTP_PARAMETERS:-?verify_peer=0}",
"#4": "MAILER_DSN=smtp://${MAILER_HOST}:${MAILER_PORT}${MAILER_PARAMETERS}"
},
"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"
]
}
},
"aliases": ["mailer", "mail"]
}

0 comments on commit cdb960b

Please sign in to comment.