As we load compose model with environment, resolve secrets and config values based on declared environment value.
This allows a nested model loading (using include) to resolve such values based on configured env_file, not just top-level environment.
when marshaling model to yaml/json resolved content is hidden if it was set by environment, to keep definition consistency
As we load compose model with environment, resolve secrets and config values based on declared environment value. This allows a nested model loading (using
include
) to resolve such values based on configuredenv_file
, not just top-level environment. when marshaling model to yaml/json resolved content is hidden if it was set by environment, to keep definition consistencycloses https://github.com/docker/compose/issues/11952