diff --git a/home/service/mail/docker-compose.yml b/home/service/mail/docker-compose.yml index 41a52a3..45dcf14 100644 --- a/home/service/mail/docker-compose.yml +++ b/home/service/mail/docker-compose.yml @@ -1,10 +1,14 @@ services: mailhog: - image: mailhog/mailhog:v1.0.1 + image: axllent/mailpit:v1.28 restart: unless-stopped labels: - traefik.frontend.rule=Host:mail.my127.site - traefik.port=8025 + environment: + MP_SMTP_BIND_ADDR: 0.0.0.0:1025 + MP_SMTP_AUTH_ACCEPT_ANY: 1 + MP_SMTP_AUTH_ALLOW_INSECURE: 1 networks: - private - shared