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 78fe107
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,16 +231,27 @@ 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):


Check failure on line 240 in README.md

View workflow job for this annotation

GitHub Actions / markdown

Multiple consecutive blank lines

README.md:240 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.31.1/doc/md012.md
```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 78fe107

Please sign in to comment.