diff options
author | Sebastian Rakel <sebastian@devunit.eu> | 2018-08-29 10:00:54 +0200 |
---|---|---|
committer | Sebastian Rakel <sebastian@devunit.eu> | 2018-08-29 13:04:34 +0200 |
commit | ece8a5d7e499f99c2171edbcf5e4dde455541912 (patch) | |
tree | 8c676dbf5d6fc029a068f2a6b7124e53b80dea55 /docker/docker-compose.yml | |
parent | eba4933c6d529ec76048d21af8218be90fd6505b (diff) |
Use msmtp to send mail in docker container
To send mails in the docker container we need to configure php to use
a smtp client and provide smtp credentials to the docker container
Diffstat (limited to 'docker/docker-compose.yml')
-rw-r--r-- | docker/docker-compose.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 03bc37f59..7450f6903 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -22,4 +22,8 @@ services: - FB_DB_DATABASE=filebin - FB_CONTACT_NAME=John Doe - FB_CONTACT_MAIL=root@example.local + - FB_SMTP_HOST=localhost + - FB_SMTP_PORT=587 + - FB_SMTP_USER=webmaster@example.invalid + - FB_SMTP_PASSWORD=mysecretpassword |