Skip to content

ezequielramos/azure-cosmos-emulator

Repository files navigation

azure-cosmos-emulator

Python application

azure-cosmos-emulator is a mock to the Azure Cosmos Database using Flask. You can use it to test your application that integrates with CosmosDB.

azure-cosmos-emulator is available on dockerhub. To run it, just execute:

docker run -d -p 8081:8081 ezequielmr94/azure-cosmos-emulator:latest

You can set the environment variable to use SSL.

docker run -d -p 8081:8081 -e AZURE_EMULATOR_USING_SSL=True ezequielmr94/azure-cosmos-emulator:latest

Common Issues:

  • Using the node.js sdk you need to use SSL. You need to disable certificate verification using process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";.