I have 2 ASP.NET Core grpc services in containers that runs on my desktop, each having its own Dapr side car. I am using Docker Compose to run the containers. In order to ensure each grpc service starts and then runs long enough for its Dapr side car to start up I am using depends_on. I.e. the grcp service depends on its Dapr side car to be running before it starts. This is done in the yaml for Docker Compose.
Unfortunately, when I do not use depends_on, the grpc service starts then quickly stops, not waiting for the Dapr sidecar to start.
I want to move this system to Azure App Services and be able to expand this simple system to use Dapr sidecars on many of my services there. However your documentation says the depends_on is an Unsupported Option -- https://docs.microsoft.com/en-us/azure/app-service/configure-custom-container?pivots=container-linux#unsupported-options.
Please implement depends_on in App Services or tell me a simple, non-fragile, surefire (hopefully declarative) way I can ensure both my grpc service and Dapr sidecar ALWAYS start properly when hosted in containers in Azure App Services.
Thanks!