feat&fix: use mailpit
This commit is contained in:
parent
cbe03ebaaa
commit
a25a7ce39f
3 changed files with 16 additions and 8 deletions
|
@ -90,3 +90,11 @@ services:
|
|||
environment:
|
||||
- MEILI_ENV=development
|
||||
- MEILI_MASTER_KEY=5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d
|
||||
|
||||
email:
|
||||
image: axllent/mailpit
|
||||
environment:
|
||||
- MP_SMTP_BIND_ADDR=0.0.0.0:10025
|
||||
- MP_UI_BIND_ADDR=0.0.0.0:1080
|
||||
- MP_SMTP_AUTH_ACCEPT_ANY=true
|
||||
- MP_SMTP_AUTH_ALLOW_INSECURE=true
|
||||
|
|
|
@ -3,16 +3,17 @@ version: "3"
|
|||
services:
|
||||
email:
|
||||
image: axllent/mailpit
|
||||
ports:
|
||||
- 1080:1080
|
||||
- 10025:10025
|
||||
restart: always
|
||||
container_name: vanigam-dash-maildev
|
||||
network_mode: host
|
||||
environment:
|
||||
- MP_SMTP_AUTH=admin:password
|
||||
- MP_MAX_MESSAGES=5000
|
||||
- MP_SMTP_AUTH_ALLOW_INSECURE=1
|
||||
- MP_SMTP_BIND_ADDR=0.0.0.0:10025
|
||||
- MP_SMTP_AUTH_ALLOW_INSECURE=true
|
||||
- MP_UI_BIND_ADDR=0.0.0.0:1080
|
||||
- MP_SMTP_AUTH_ACCEPT_ANY=true
|
||||
- MP_SMTP_AUTH_ALLOW_INSECURE=true
|
||||
# - MAILDEV_SMTP_PORT=10025
|
||||
# - MAILDEV_INCOMING_USER=admin
|
||||
# - MAILDEV_INCOMING_PASS=password
|
||||
|
||||
postgres:
|
||||
image: postgres:16.4
|
||||
|
|
|
@ -5,7 +5,6 @@ edition = "2021"
|
|||
|
||||
[workspace]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
actix-rt = "2.9.0"
|
||||
|
|
Loading…
Reference in a new issue