Skip to content

Commit

Permalink
Add documentation on the mail setup
Browse files Browse the repository at this point in the history
Remove todo list.
  • Loading branch information
arnested committed Oct 6, 2023
1 parent b46f6cd commit 5b28654
Showing 1 changed file with 23 additions and 13 deletions.
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.

0 comments on commit 5b28654

Please sign in to comment.