diff --git a/cli/installer/docker_compose.go b/cli/installer/docker_compose.go index fe7a3c052e..9a95c850f6 100644 --- a/cli/installer/docker_compose.go +++ b/cli/installer/docker_compose.go @@ -1,6 +1,7 @@ package installer import ( + "context" _ "embed" "fmt" "io" @@ -324,12 +325,14 @@ func getCompleteProject(ui cliUI.UI, config configuration) *types.Project { ui.Panic(err) } - project, err := loader.Load(types.ConfigDetails{ - WorkingDir: workingDir, + project, err := loader.LoadWithContext(context.Background(), types.ConfigDetails{ + WorkingDir: fmt.Sprintf("%s/tracetest", workingDir), ConfigFiles: configFiles, Environment: map[string]string{ "TRACETEST_DEV": "", }, + }, func(o *loader.Options) { + o.SetProjectName("tracetest", true) }) if err != nil { ui.Exit(fmt.Errorf("cannot parse docker-compose file: %w", err).Error())