-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathapp.json
38 lines (38 loc) · 2.09 KB
/
app.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "Portier Broker",
"description": "Portier Broker reference implementation, written in Rust. Learn more at https://portier.github.io/.",
"keywords": ["Portier", "Passwordless", "Authentication"],
"website": "https://portier.github.io/",
"repository": "https://github.com/portier/portier-broker",
"success_url": "https://github.com/portier/portier.github.io/blob/main/Self-Hosting.md",
"env": {
"BROKER_PUBLIC_URL": {
"description": "The broker server's public-facing URL. It's important to set this correctly, or JSON Web Tokens will fail to validate. Relying Parties will use the same value for their Broker URL. To ensure consistency, trailing slashes should be avoided. It is suggested that you choose an app name (up above) and then use it to fill out this config var. Alternatively, if you enable the Dyno Metadata labs addon using the Heroku CLI then you can leave this value blank and the public-facing URL will be automatically set, thus allowing you to let Heroku choose the app's name.",
"value": "https://[app-name].herokuapp.com"
},
"BROKER_FROM_ADDRESS": {
"description": "The 'From' address used by Portier to send emails. Unlike the BROKER_PUBLIC_URL, this config value will not auto-populate even if the Dyno Metadata labs addon is enabled. It will be easiest if you choose an app name (up above) and then use it here instead of letting Heroku pick a name for the app.",
"value": "portier@[app-name].herokuapp.com"
},
"BROKER_FROM_NAME": {
"description": "The 'From' name on the emails sent by Portier.",
"value": "Portier"
},
"BROKER_ALLOWED_ORIGINS": {
"description": "The origins allowed to use this broker for authentication. You can specify a single origin or list multiple origins and separate them with commas.",
"value": "https://example.com,https://example.org:8080"
}
},
"formation": {
"web": {
"quantity": 1,
"size": "free"
}
},
"addons": ["heroku-redis:hobby-dev", "sendgrid:starter"],
"buildpacks": [
{
"url": "https://github.com/emk/heroku-buildpack-rust"
}
]
}