deploy: Add mailpit to test *sent* emails
Some checks failed
/ deploy (push) Has been cancelled
/ test (push) Successful in 50s

This commit is contained in:
lagertonne 2024-11-29 18:21:59 +01:00
parent eb9e9088ca
commit fb87d093b2

View file

@ -11,6 +11,7 @@ services:
- DB_NAME=system3
- DB_USER=system3
- DB_PASSWORD=system3
- MAIL_DOMAIN=mail:1025
volumes:
- ../../core:/code
ports:
@ -44,5 +45,19 @@ services:
ports:
- "3306:3306"
mail:
image: docker.io/axllent/mailpit
volumes:
- mailpit_data:/data
ports:
- 8025:8025
- 1025:1025
environment:
MP_MAX_MESSAGES: 5000
MP_DATABASE: /data/mailpit.db
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
volumes:
mariadb_data:
mailpit_data: