|
|
|
|
|
by joevandyk
5315 days ago
|
|
I use chef and runit's chpst (like envdir) to set the environment variables. The production / staging environment chef configuration is stored in a tightly-locked down git repository that can only be accessed from production. Chef reads the production configuration information, puts the environment variables into envdir-complaint files in a directory, runit uses chpst/envdir to start the process with the correct environment settings... and that's pretty much it. |
|