mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-10 00:01:02 +00:00
the komodo env file should be highest priority over additional files
This commit is contained in:
@@ -372,7 +372,7 @@ impl Resolve<super::Args> for ComposePull {
|
||||
"compose pull",
|
||||
run_directory.as_ref(),
|
||||
format!(
|
||||
"{docker_compose} -p {project_name} -f {file_args}{env_file}{additional_env_files} pull{service_arg}",
|
||||
"{docker_compose} -p {project_name} -f {file_args}{additional_env_files}{env_file} pull{service_arg}",
|
||||
),
|
||||
false,
|
||||
)
|
||||
|
||||
@@ -159,8 +159,8 @@ pub async fn compose_up(
|
||||
// after performing interpolation
|
||||
{
|
||||
let command = format!(
|
||||
"{docker_compose} -p {project_name} -f {file_args}{env_file}{additional_env_files} config --format json",
|
||||
);
|
||||
"{docker_compose} -p {project_name} -f {file_args}{additional_env_files}{env_file} config --format json",
|
||||
);
|
||||
let config_log = run_komodo_command(
|
||||
"compose build",
|
||||
run_directory.as_ref(),
|
||||
|
||||
Reference in New Issue
Block a user