1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-29 18:29:44 +02:00

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

This commit is contained in:
Chaim Lev-Ari 2021-10-08 01:59:50 +03:00 committed by Stéphane Busso
parent 0200a668df
commit 8383bc05c5

View file

@ -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) {