mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-14 23:22:40 +00:00
update: smtp docs
This commit is contained in:
parent
e79b57dd85
commit
6ff5cc34ec
|
@ -64,7 +64,17 @@ The app needs these environment variables to be configured in order to work.
|
|||
- `FLAVOUR` should reflect your chosen flavour
|
||||
- `HOSTNAME` (your domain name, eg: `bonfire.example.com`)
|
||||
- `PUBLIC_PORT` (usually 443)
|
||||
- `MAIL_DOMAIN` and `MAIL_KEY` and related keys to configure transactional email, for example set `MAIL_BACKEND=mailgun` and sign up at [Mailgun](https://www.mailgun.com/) and then configure the domain name and key (you may also need to set `MAIL_BASE_URI` if your domain is not setup in EU, as the default `MAIL_BASE_URI` is set as `https://api.eu.mailgun.net/v3`). SMTP is supported as well.
|
||||
- `MAIL_DOMAIN` and `MAIL_KEY` and related keys to configure transactional email, for example set `MAIL_BACKEND=mailgun` and sign up at [Mailgun](https://www.mailgun.com/) and then configure the domain name and key (you may also need to set `MAIL_BASE_URI` if your domain is not setup in EU, as the default `MAIL_BASE_URI` is set as `https://api.eu.mailgun.net/v3`).
|
||||
- SMTP is supported as well, through the following env vars
|
||||
```
|
||||
MAIL_SERVER (smtp domain of the mail server)
|
||||
MAIL_DOMAIN (the bit after the @ in your email)
|
||||
MAIL_USER
|
||||
MAIL_PASSWORD
|
||||
MAIL_FROM
|
||||
MAIL_PORT (optional)
|
||||
MAIL_SSL (optional)
|
||||
```
|
||||
- `UPLOADS_S3_BUCKET` and the related API key and secret for uploads. WARNING: If you want to store uploads in an object storage rather than directly on your server (which you probably want, to not run out of space), you need to configure that up front, otherwise URLs will break if you change it later. See `config/runtime.exs` for extra variables to set if you're not using the default service and region (which is [Scaleway](https://www.scaleway.com/en/object-storage/) Paris).
|
||||
|
||||
### Secret keys for which you should put random secrets.
|
||||
|
|
Loading…
Reference in a new issue