deploy: Add mailpit to test *sent* emails
This commit is contained in:
parent
eb9e9088ca
commit
fb87d093b2
1 changed files with 16 additions and 1 deletions
|
@ -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:
|
||||
mariadb_data:
|
||||
mailpit_data:
|
Loading…
Reference in a new issue