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

pull/5849/head
Chaim Lev-Ari 3 years ago committed by GitHub
parent ed89587cb9
commit 151dfe7e65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -93,7 +93,7 @@ func (manager *ComposeStackManager) fetchEndpointProxy(endpoint *portainer.Endpo
return "", nil, err 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) { func createEnvFile(stack *portainer.Stack) (string, error) {

Loading…
Cancel
Save