Skip to content

Modern Docker Management, Designed for Everyone

fix: add work directory and config files labels to projects

Kyle Mendell1c25aa840f59
diff --git a/backend/internal/utils/projects/load.go b/backend/internal/utils/projects/load.go
index f4a69c481..7cd964120 100644
--- a/backend/internal/utils/projects/load.go
+++ b/backend/internal/utils/projects/load.go
@@ -86,6 +86,9 @@ func LoadComposeProject(ctx context.Context, composeFile, projectName string) (*
s.CustomLabels[api.ServiceLabel] = s.Name
s.CustomLabels[api.VersionLabel] = api.ComposeVersion
s.CustomLabels[api.OneoffLabel] = "False"
+ s.CustomLabels[api.WorkingDirLabel] = workdir
+ s.CustomLabels[api.ConfigFilesLabel] = composeFile
+
project.Services[i] = s
}