1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +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 GitHub
parent ed89587cb9
commit 151dfe7e65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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