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:
parent
5d1cd670e9
commit
34235199dd
7 changed files with 952 additions and 87 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue