Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for cosmos db cosmosdb #258

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

0xYasser
Copy link

@0xYasser 0xYasser commented Apr 26, 2023

Instead of using local MongoDB, using a cloud DB is more reliable. This PR adds support for CosmosDB.
This PR adds support for Azure Cosmos DB.

  • Add cosmosdb_connection_string and cosmosdb_database_id in config.yml
  • update bot.py line 34 to be import cosmosdb as database

Upon using this DB. No need to use Docker at all. Use Github CI/CD to deploy your solution to any cloud provider. But the DB need to be in Azure.

To maintain backward compatibility we need a migration script MongoDB --> cosmosdb.

@0xYasser 0xYasser changed the title add support for cosmos db add support for cosmos db cosmosdb Apr 26, 2023
@dontsovcmc
Copy link

@0xYasser maybe you should use abstractdb to choose db your want? see this pull request: #217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants