Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation on the mail setup #175

Merged
merged 1 commit into from
Oct 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 23 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,16 +231,26 @@ logged in.

## Mail

@todo

## TODO

- [x] Make sure @dependabot can keep the various PHP versions up to date
- [ ] Documentation on how to use
- [ ] Documentation on the philosophie behind the images
- [ ] Documentation on how to migrate from [old Reload images](https://github.com/reload/docker-drupal-php7-fpm)
- [x] Find better way to determine document root
- [x] Drupal specific configuration (I know how I want this done)
- [x] Blackfire integration
- [x] Xdebug integration
- [x] Run goss test on GitHub CI
The image has [`mstmp`](https://marlam.de/msmtp/) installed. `msmtp`
is an SMTP client.

For simple development setups we recommend combining it with
[Mailpit](https://github.com/axllent/mailpit):

```yaml
php:
image: ghcr.io/reload/php-fpm:8.2
environment:
SMTPSERVER: mail
mail:
image: axllent/mailpit
ports:
- '25'
- '80'
environment:
MP_SMTP_BIND_ADDR: '0.0.0.0:25'
MP_UI_BIND_ADDR: '0.0.0.0:80'
```

For more advanced usages you can add a system wide configuration file
for msmtp at `/etc/msmtprc` in the php-fpm image.