Open Swop opened 11 years ago
It seams that Addons config info are not present during compilation time. It's thus difficult to use a decorated parameters.yml file with PgSQL infos (and other addons connexion informations) if needed.
@stof points me out a potential solution in Heroku Devcenter : https://devcenter.heroku.com/articles/labs-user-env-compile
He also give me the idea to use his ParameterHandler bundle to build the parameters.yml file (https://github.com/LogSafe/ParameterHandler). It's something to try.
the ParameterHandler is now on https://github.com/Incenteev/ParameterHandler as we renamed the organization
Thanks!
See https://github.com/Incenteev/heroku-buildpack-sdz/tree/env_parameters for a solution which is working now
Ok!
In boot.sh, php.ini, parameters.yml and other files are copied/decorated but some actions are allready be done in compile step.
Try not to duplicate actions.