feat&fix: use mailpit

This commit is contained in:
Aravinth Manivannan 2024-09-13 16:22:59 +05:30
parent cbe03ebaaa
commit a25a7ce39f
Signed by: realaravinth
GPG key ID: F8F50389936984FF
3 changed files with 16 additions and 8 deletions

View file

@ -90,3 +90,11 @@ services:
environment: environment:
- MEILI_ENV=development - MEILI_ENV=development
- MEILI_MASTER_KEY=5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d - 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

View file

@ -3,16 +3,17 @@ version: "3"
services: services:
email: email:
image: axllent/mailpit image: axllent/mailpit
ports: restart: always
- 1080:1080 container_name: vanigam-dash-maildev
- 10025:10025 network_mode: host
environment: 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_BIND_ADDR=0.0.0.0:10025
- MP_SMTP_AUTH_ALLOW_INSECURE=true
- MP_UI_BIND_ADDR=0.0.0.0:1080 - 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: postgres:
image: postgres:16.4 image: postgres:16.4

View file

@ -5,7 +5,6 @@ edition = "2021"
[workspace] [workspace]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
actix-rt = "2.9.0" actix-rt = "2.9.0"