fix(compose): use project in compose start options (#1477)

This commit is contained in:
LP B
2025-12-05 15:22:40 +01:00
committed by GitHub
parent 8675086441
commit d2a9adb4be
2 changed files with 64 additions and 1 deletions
+5 -1
View File
@@ -142,7 +142,11 @@ func (c *ComposeDeployer) Deploy(ctx context.Context, filePaths []string, option
project = project.WithoutUnnecessaryResources()
var opts api.UpOptions
opts := api.UpOptions{
Start: api.StartOptions{
Project: project,
},
}
if options.ForceRecreate {
opts.Create.Recreate = api.RecreateForce
}