fix(compose): use tcp for agent proxy EE-1807 (#5854)

pull/5886/head
Chaim Lev-Ari 2021-10-08 01:59:50 +03:00 committed by Stéphane Busso
parent 0200a668df
commit 8383bc05c5
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ func (manager *ComposeStackManager) fetchEndpointProxy(endpoint *portainer.Endpo
return "", nil, err
}
return fmt.Sprintf("http://127.0.0.1:%d", proxy.Port), proxy, nil
return fmt.Sprintf("tcp://127.0.0.1:%d", proxy.Port), proxy, nil
}
func createEnvFile(stack *portainer.Stack) (string, error) {