I am using docker compose to spin up an api, along with Dapr for state management and a local cosmosDB emulator.
When specifying my local azure cosmosDB as the state store in my local Dapr component, the Dapr container fails to start with the error message: level=warning msg="error initializing state store cosmosdb (state.azure.cosmosdb/v1): Post "https://localhost:8081//dbs": dial tcp 127.0.0.1:8081: connect: connection refused"
If I change the Dapr component to point at my cosmosDB in azure the Dapr container works fine, so I know this is an issue with cosmosDB locally. Im new to dapr and cosmos db but I'm not sure what I'm missing.