文件名称:config-file-heroku-buildpack:Heroku Buildpack将配置文件添加到Heroku应用
文件大小:2KB
文件格式:ZIP
更新时间:2024-04-08 19:14:43
heroku-buildpack Shell
配置文件-heroku-buildpack Heroku Buildpack将配置文件添加到heroku应用程序。当您不想在github存储库中包含配置文件时,这很有用,因为它可能包含个人凭据。 使用此Buildpack的步骤: 在heroku应用程序设置中添加以下配置变量: 包含配置文件名称的CONFIG_FILE_NAME (例如python项目的config.py)。还支持子目录内的配置文件,例如app / config.py,前提是app /目录已存在。 CONFIG_FILE_CONTENT包含要存储在配置文件中的数据。 现在,使用anshit01/config-file或此回购的.git链接在buildpack选项中添加此buildpack,并将此buildpack保持在默认buildpack之上。 在Heroku buildpacks注册表中的anshit01/confi
【文件预览】:
config-file-heroku-buildpack-master
----README.md(820B)
----bin()
--------release(26B)
--------compile(591B)
--------detect(68B)