mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 08:13:11 +01:00
Update Laravel mailer config & var
This commit is contained in:
parent
a61f5f4702
commit
be229d9746
@ -126,7 +126,7 @@ MYSQL_ATTR_SSL_CA=
|
||||
# Refer your email provider documentation to configure your mail settings
|
||||
# Set a value for every available setting to avoid issue
|
||||
|
||||
MAIL_DRIVER=log
|
||||
MAIL_MAILER=log
|
||||
MAIL_HOST=smtp.mailtrap.io
|
||||
MAIL_PORT=2525
|
||||
MAIL_USERNAME=null
|
||||
|
@ -39,7 +39,7 @@ REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
|
||||
MAIL_DRIVER=array
|
||||
MAIL_MAILER=array
|
||||
MAIL_HOST=smtp.mailtrap.io
|
||||
MAIL_PORT=2525
|
||||
MAIL_USERNAME=null
|
||||
|
2
Dockerfile
vendored
2
Dockerfile
vendored
@ -153,7 +153,7 @@ ENV \
|
||||
# Mail settings
|
||||
# Refer your email provider documentation to configure your mail settings
|
||||
# Set a value for every available setting to avoid issue
|
||||
MAIL_DRIVER=log \
|
||||
MAIL_MAILER=log \
|
||||
MAIL_HOST=smtp.mailtrap.io \
|
||||
MAIL_PORT=2525 \
|
||||
MAIL_USERNAME=null \
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('MAIL_MAILER', 'smtp'),
|
||||
'default' => env('MAIL_MAILER', env('MAIL_DRIVER', 'smtp')),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@ -86,6 +86,14 @@
|
||||
'log',
|
||||
],
|
||||
],
|
||||
|
||||
'roundrobin' => [
|
||||
'transport' => 'roundrobin',
|
||||
'mailers' => [
|
||||
'ses',
|
||||
'postmark',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|
@ -117,7 +117,7 @@ #### Mail settings
|
||||
|
||||
| Build argument | Recommendation | Description |
|
||||
| --- | --- | --- |
|
||||
| MAIL_DRIVER | SMTP | The driver type |
|
||||
| MAIL_MAILER | SMTP | The driver type |
|
||||
| MAIL_HOST | smtp.yourdomain.com | The SMTP hostname |
|
||||
| MAIL_PORT | 587 | The corresponding SMTP port (587 with STARTTLS) or (465 with SSL recommended) |
|
||||
| MAIL_USERNAME | 2fauth@yourdomain.com | The SMTP username |
|
||||
@ -129,7 +129,7 @@ #### Mail settings
|
||||
Example:
|
||||
|
||||
```text
|
||||
-e MAIL_DRIVER=SMTP
|
||||
-e MAIL_MAILER=SMTP
|
||||
-e MAIL_HOST=smtp.example.com
|
||||
-e MAIL_PORT=587 # STARTTLS
|
||||
-e MAIL_USERNAME=2fauth@example.com
|
||||
|
@ -50,7 +50,7 @@ services:
|
||||
# Mail settings
|
||||
# Refer your email provider documentation to configure your mail settings
|
||||
# Set a value for every available setting to avoid issue
|
||||
- MAIL_DRIVER=log
|
||||
- MAIL_MAILER=log
|
||||
- MAIL_HOST=smtp.mailtrap.io
|
||||
- MAIL_PORT=2525
|
||||
- MAIL_USERNAME=null
|
||||
|
Loading…
Reference in New Issue
Block a user