我正在尝试使用 Heroku 审核应用程序来测试并向我的同事展示我的网站。该站点有一个大型数据库,无法与 Heroku 的免费hobby-dev数据库一起使用。
我正在尝试按照指南使用app.json清单文件来指定我的应用程序的平台。我正在使用的代码如下:
应用程序.json
{
"name": "SiteName",
"description": "The website for SiteName",
"keywords": [
"mezzanine",
"django"
],
"image": "heroku/python",
"env": {
"EMAIL_SYSTEM": {
"description": "The email system to use, either console or mailgun",
"value": "mailgun"
},
"ENVIRONMENT": {
"description": "The dev environment, either production or test",
"value": "production"
},
"ALLOWED_HOSTS": {
"description": "Comma-separated list of hosts",
"value": ".herokuapp.com"
},
"DEFAULT_FROM_EMAIL": "noreply@example.com",
"SECRET_KEY": {
"description": "A secret key for verifying the integrity of …Run Code Online (Sandbox Code Playgroud)