On which Service I can deploy an app which based on a Docker Compose file?

טל כהן 0 Reputation points
2025-02-07T12:29:51.2133333+00:00

Hi!

I built an app that runs on a Docker container. The app uses a Mongo DB Docker image.

I combine the Flask container, the MongoDB container, and the Mongo Express container into a Docker compose file and I want to run all of them on a serverless service.

I used the MongoDB and Mongo Express public images. I then pushed the Flask app to the Azure container registry.

I am looking for a service that allows me to run all 3 containers based on my current Docker compose file and work on my local laptop.

I tried App service and container instances, but it seems that they can deploy only one container.

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
481 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
727 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
525 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,266 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu katara 13,450 Reputation points MVP
    2025-02-07T12:47:40.5066667+00:00

    Hello , Welcome to MS Q&A

    To run multiple containers using Docker Compose in Azure, you can use below options:

    1. Azure Kubernetes Service (AKS): AKS provides a managed Kubernetes environment where you can deploy and manage containerized applications. You can use Docker Compose to define your services and deploy them to AKS.
    2. Azure Service Fabric: Service Fabric is a distributed systems platform that can run containerized applications. It supports Docker Compose for deploying multiple containers.

    References:

    Please let us know if any questions.

    Kindly accept answer if it helps

    Thanks

    Deepanshu

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.