Open jdhoffa opened 6 months ago
I have used a .env in the past, however I realized this is mainly only because it plays nicely with Docker and is especially useful when volume-mounting local directories into a container/ image.
.env
Docker
For some of the default parameters it MAY make more sense to use a config.yml, as is done in workflow.data.preparation and friends: https://github.com/RMI-PACTA/workflow.aggregate.loanbooks/blob/207a5140e49cd913fe6b05c4dc1ba2180dc29c85/README.md?plain=1#L45-L61
workflow.data.preparation
https://github.com/RMI-PACTA/workflow.data.preparation/blob/main/config.yml
this will be handled by the refactor and move to workflow.multi.loanbook
workflow.multi.loanbook
I have used a
.env
in the past, however I realized this is mainly only because it plays nicely withDocker
and is especially useful when volume-mounting local directories into a container/ image.For some of the default parameters it MAY make more sense to use a config.yml, as is done in
workflow.data.preparation
and friends: https://github.com/RMI-PACTA/workflow.aggregate.loanbooks/blob/207a5140e49cd913fe6b05c4dc1ba2180dc29c85/README.md?plain=1#L45-L61https://github.com/RMI-PACTA/workflow.data.preparation/blob/main/config.yml