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 to true) that allows for debugging when declaring dependencies between services.
Turning it on
<PropertyGroup>
<DependencyAwareStart>true</DependencyAwareStart>
</PropertyGroup>
What works
|
service_started |
service_healthy |
service_completed_successfully |
| linux |
✔️ |
✔️ |
.NET 6+ (not AOT compiled) |
| windows |
✔️ |
✔️ |
❌ |
replicas / scale
No opt-in needed, this should just work now!
What works
backend:
image: ${DOCKER_REGISTRY-}backend
scale: 2
--or--
backend:
image: ${DOCKER_REGISTRY-}backend
deploy:
replicas: 2