update docs about mailgun

This commit is contained in:
Mayel de Borniol 2022-12-03 09:43:34 +13:00
parent fe77a006d3
commit 75c8e28c11
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ This will initialise some default config (a .env file which won't be checked int
These are the config keys you should especially pay attention to:
- `HOSTNAME` (your domain name, eg: `bonfire.example.com`)
- `PUBLIC_PORT` (usually 443)
- `MAIL_DOMAIN` and `MAIL_KEY` to configure transactional email, you can for example sign up at [Mailgun](https://www.mailgun.com/) and then configure the domain name and key. Other providers are 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.
- `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).
These are the secret keys for which you should put random secrets. You can run `just secrets` to generate some:

View File

@ -35,14 +35,14 @@
"bonfire_files": {:git, "https://github.com/bonfire-networks/bonfire_files", "4a15a5018165f3d66a2a3e854bdd0c5c3ec3db88", [branch: "main"]},
"bonfire_geolocate": {:git, "https://github.com/bonfire-networks/bonfire_geolocate", "c27942e70308c03526cb475876cac369de2aa274", [branch: "main"]},
"bonfire_invite_links": {:git, "https://github.com/bonfire-networks/bonfire_invite_links", "6242bb91e2dd3b399944136253d1380a932e42fa", [branch: "main"]},
"bonfire_mailer": {:git, "https://github.com/bonfire-networks/bonfire_mailer", "894243cb8f4ddb336d24ae7116e15b7b2070c9cd", [branch: "main"]},
"bonfire_mailer": {:git, "https://github.com/bonfire-networks/bonfire_mailer", "c14d54e6031f6dc924d6d921bf1b818aa507a63f", [branch: "main"]},
"bonfire_me": {:git, "https://github.com/bonfire-networks/bonfire_me", "ef0c6eb35f6d2f873482cd2d4ef6532e89e465fe", [branch: "main"]},
"bonfire_pages": {:git, "https://github.com/bonfire-networks/bonfire_pages", "bc7dacb8490a763b713effa0e8d6133038322dcb", [branch: "main"]},
"bonfire_quantify": {:git, "https://github.com/bonfire-networks/bonfire_quantify", "2598795d4f7339bb759184c251a4d49e173fcba5", [branch: "main"]},
"bonfire_search": {:git, "https://github.com/bonfire-networks/bonfire_search", "14e5aee2d76ef071a0acd291258b44f7e7b07641", [branch: "main"]},
"bonfire_social": {:git, "https://github.com/bonfire-networks/bonfire_social", "bb885ba99bfea385e422caeef59b51d2906b45e1", [branch: "main"]},
"bonfire_tag": {:git, "https://github.com/bonfire-networks/bonfire_tag", "e1dbd521693c9e18507a96990483b72032f00808", [branch: "main"]},
"bonfire_ui_common": {:git, "https://github.com/bonfire-networks/bonfire_ui_common", "404e8f1be00916f17d242b9540a989c634856edc", [branch: "main"]},
"bonfire_ui_common": {:git, "https://github.com/bonfire-networks/bonfire_ui_common", "9572120d1cfb2826a2b76da10f1785a4e88e334d", [branch: "main"]},
"bonfire_ui_coordination": {:git, "https://github.com/bonfire-networks/bonfire_ui_coordination", "fa5d35009e53192524053a2491bc410be2793b88", [branch: "main"]},
"bonfire_ui_kanban": {:git, "https://github.com/bonfire-networks/bonfire_ui_kanban", "22b3378bb7d57105743e7541b777078663636a75", [branch: "main"]},
"bonfire_ui_me": {:git, "https://github.com/bonfire-networks/bonfire_ui_me", "611b9f14b6cf5a20d38c4df2b8b0dd4e1994ac2d", [branch: "main"]},