Re:The Twelve-Factor App (2011)
by Parrot_NTheKing on Friday April 29, 2022 @07:50AM
(#31203980)
One pattern that we use at our company is that we have multiple env files, and we launch programs using `run_with_config <config-file> <command>`. The script loads environment variables from config-file and then launches command.
[ Parent
| on HN ]
Re:The Twelve-Factor App (2011)
by zach_garwood on Friday April 29, 2022 @07:56PM
(#31211954)
I like to do something similar with my personal projects:
`set -o allexport && source /ect/environment && set +o allexport; command`