Fix endpoint mode loading from Compose file in stack deploy Upstream-commit: 490d99babe Component: cli
490d99babe