Skip to content

A small Flask API that connects to Mongo Atlas and is deployed using Azure DevOps which builds and pushes an updated Docker Image each commit to Azure Container Registry.

Notifications You must be signed in to change notification settings

Ajsalemo/Python-Flask-AzureDevOps-Containerized

Repository files navigation

Python-Flask-AzureDevOps-Containerized

A small Flask API that connects to Mongo Atlas and is deployed using Azure DevOps which builds and pushes an updated Docker Image each commit to Azure Container Registry.


Build and run

For continuous deployment and integration - update the azure-pipelines.yml to your credentials. Replace the following environment variables to run locally:

  • MONGO_ATLAS_USERNAME (your Mongo Atlas username)
  • MONGO_ATLAS_PASSWORD (your Mongo Atlas password)
  • MONGO_ATLAS_CLUSTER (your Mongo Atlas cluster)
  • MONGO_ATLAST_DATABASE (your Mongo Atlas database)

About

A small Flask API that connects to Mongo Atlas and is deployed using Azure DevOps which builds and pushes an updated Docker Image each commit to Azure Container Registry.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published