1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 14:59:41 +02:00

fix(libstack): correctly load COMPOSE_* env vars [BE-11474] (#536)

This commit is contained in:
Devon Steenberg 2025-03-25 08:57:23 +13:00 committed by GitHub
parent 5d1cd670e9
commit 34235199dd
7 changed files with 952 additions and 87 deletions

View file

@ -125,7 +125,7 @@ func (c *ComposeDeployer) WaitForStatus(ctx context.Context, name string, status
var containerSummaries []api.ContainerSummary
if err := withComposeService(ctx, nil, libstack.Options{ProjectName: name}, func(composeService api.Service, project *types.Project) error {
if err := c.withComposeService(ctx, nil, libstack.Options{ProjectName: name}, func(composeService api.Service, project *types.Project) error {
var err error
psCtx, cancelFunc := context.WithTimeout(context.Background(), time.Minute)