mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-19 19:28:08 +02: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
|
# Refer your email provider documentation to configure your mail settings
|
||||||
# Set a value for every available setting to avoid issue
|
# Set a value for every available setting to avoid issue
|
||||||
|
|
||||||
MAIL_DRIVER=log
|
MAIL_MAILER=log
|
||||||
MAIL_HOST=smtp.mailtrap.io
|
MAIL_HOST=smtp.mailtrap.io
|
||||||
MAIL_PORT=2525
|
MAIL_PORT=2525
|
||||||
MAIL_USERNAME=null
|
MAIL_USERNAME=null
|
||||||
|
@ -39,7 +39,7 @@ REDIS_HOST=127.0.0.1
|
|||||||
REDIS_PASSWORD=null
|
REDIS_PASSWORD=null
|
||||||
REDIS_PORT=6379
|
REDIS_PORT=6379
|
||||||
|
|
||||||
MAIL_DRIVER=array
|
MAIL_MAILER=array
|
||||||
MAIL_HOST=smtp.mailtrap.io
|
MAIL_HOST=smtp.mailtrap.io
|
||||||
MAIL_PORT=2525
|
MAIL_PORT=2525
|
||||||
MAIL_USERNAME=null
|
MAIL_USERNAME=null
|
||||||
|
2
Dockerfile
vendored
2
Dockerfile
vendored
@ -153,7 +153,7 @@ ENV \
|
|||||||
# Mail settings
|
# Mail settings
|
||||||
# Refer your email provider documentation to configure your mail settings
|
# Refer your email provider documentation to configure your mail settings
|
||||||
# Set a value for every available setting to avoid issue
|
# Set a value for every available setting to avoid issue
|
||||||
MAIL_DRIVER=log \
|
MAIL_MAILER=log \
|
||||||
MAIL_HOST=smtp.mailtrap.io \
|
MAIL_HOST=smtp.mailtrap.io \
|
||||||
MAIL_PORT=2525 \
|
MAIL_PORT=2525 \
|
||||||
MAIL_USERNAME=null \
|
MAIL_USERNAME=null \
|
||||||
|
@ -13,7 +13,7 @@ return [
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'default' => env('MAIL_MAILER', 'smtp'),
|
'default' => env('MAIL_MAILER', env('MAIL_DRIVER', 'smtp')),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@ -86,6 +86,14 @@ return [
|
|||||||
'log',
|
'log',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'roundrobin' => [
|
||||||
|
'transport' => 'roundrobin',
|
||||||
|
'mailers' => [
|
||||||
|
'ses',
|
||||||
|
'postmark',
|
||||||
|
],
|
||||||
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -117,7 +117,7 @@ There are the following build arguments you can use to customize the image using
|
|||||||
|
|
||||||
| Build argument | Recommendation | Description |
|
| 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_HOST | smtp.yourdomain.com | The SMTP hostname |
|
||||||
| MAIL_PORT | 587 | The corresponding SMTP port (587 with STARTTLS) or (465 with SSL recommended) |
|
| MAIL_PORT | 587 | The corresponding SMTP port (587 with STARTTLS) or (465 with SSL recommended) |
|
||||||
| MAIL_USERNAME | 2fauth@yourdomain.com | The SMTP username |
|
| MAIL_USERNAME | 2fauth@yourdomain.com | The SMTP username |
|
||||||
@ -129,7 +129,7 @@ There are the following build arguments you can use to customize the image using
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
-e MAIL_DRIVER=SMTP
|
-e MAIL_MAILER=SMTP
|
||||||
-e MAIL_HOST=smtp.example.com
|
-e MAIL_HOST=smtp.example.com
|
||||||
-e MAIL_PORT=587 # STARTTLS
|
-e MAIL_PORT=587 # STARTTLS
|
||||||
-e MAIL_USERNAME=2fauth@example.com
|
-e MAIL_USERNAME=2fauth@example.com
|
||||||
|
@ -50,7 +50,7 @@ services:
|
|||||||
# Mail settings
|
# Mail settings
|
||||||
# Refer your email provider documentation to configure your mail settings
|
# Refer your email provider documentation to configure your mail settings
|
||||||
# Set a value for every available setting to avoid issue
|
# Set a value for every available setting to avoid issue
|
||||||
- MAIL_DRIVER=log
|
- MAIL_MAILER=log
|
||||||
- MAIL_HOST=smtp.mailtrap.io
|
- MAIL_HOST=smtp.mailtrap.io
|
||||||
- MAIL_PORT=2525
|
- MAIL_PORT=2525
|
||||||
- MAIL_USERNAME=null
|
- MAIL_USERNAME=null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user