dapr / docs

Dapr user documentation, used to build docs.dapr.io
https://docs.dapr.io
Creative Commons Attribution 4.0 International
987 stars 715 forks source link

Fix the mongodb state store example (docker) #4103

Closed mikeee closed 1 month ago

mikeee commented 2 months ago

Describe the issue

docker run --name some-mongo -d mongo does not expose the port to the container.

URL of the docs

https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-mongodb/#setup-mongodb

Expected content

docker run --name some-mongo -d -p 27017:27017 mongo as the example states "localhost:27017"

Screenshots

Additional context

https://discord.com/channels/778680217417809931/901141713089863710/1227058754311421992 Highlighted here following an unclear component error.