-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Preview] Feedback requested on enhancements to compose launch in 17.13 Preview 1 #448
Comments
this works for me deploy:
replicas: 2 but this doesn't scale: 2 Visual Studio 17.13.0 Preview 2.1 |
@jiangyi1985 can you provide more context on what is not working? services:
webapplication2:
image: ${DOCKER_REGISTRY-}webapplication2
scale: 2
build:
context: .
dockerfile: WebApplication2/Dockerfile And got the two instances as expected |
i found this though By the way I'm on |
Both work for me. I am on 4.37.1 of Docker Desktop and Compose: v2.31.0-desktop.2 |
@jiangyi1985 I am unable to reproduce this. |
After using
|
@jiangyi1985 the next thing to do would be to inspect each file passed in with -f and check if any of them are overwriting or unsetting your scale property. |
We've made some big changes in how the
.dcproj
launches compose services in 17.13 Preview 1 and we need your help to validate that the new experience is meeting your needs!depends_on
We've added a new way of launching compose (triggered by setting the msbuild property
DependencyAwareStart
totrue
) that allows for debugging when declaring dependencies between services.Turning it on
What works
replicas / scale
No opt-in needed, this should just work now!
What works
--or--
The text was updated successfully, but these errors were encountered: