【发布时间】:2023-04-08 07:55:01
【问题描述】:
我正在尝试设置 Heroku Pipelines,并希望使用 app.json 配置我的环境和构建过程。但是我的 app.json 被忽略了。
这就是我的仓库的样子:
- Dir1
- Dir2
- ...
- app.json
- some other files
我做了一个简单的 app.json,但是没有安装 buildpack,没有配置数据库等等。
{
"formation": {
"web": {
"quantity": 1,
"size": "free"
},
"worker": {
"quantity": 1,
"size": "free"
}
},
"addons": [
{
"plan": "heroku-postgresql:hobby-dev"
},
{
"plan": "heroku-redis:hobby-dev"
}
],
"buildpacks": [
{
"url": "heroku/nodejs"
}
]
}
有没有人知道为什么 app.json 的配置没有被使用?
【问题讨论】:
标签: heroku heroku-cli