How can I deploy the same repository that includes multi-container in Azure Container Registry to several different instances on Azure?

Viewed 40

I created a multi-container group using docker-compose.

And I created an Azure Container Registry resource on Azure and I could run my containers like the below.

enter image description here

I followed Microsoft's instructions to do it and it worked. Here is the link

But when I tried to deploy the same image to another container instance from Azure Portal only one container starts up.

WiseCRM .net app starts, but Redis and MS-SQL don't show up.

enter image description here

If I try to deploy from PowerShell like the instruction sad, containers have been deployed to the same container instance.

Here is my docker-compose.yml file.

version: '3.4'

services:
  ms-sql-server:
    image: mcr.microsoft.com/mssql/server:2017-latest-ubuntu
    environment:
        ACCEPT_EULA: "Y"
        SA_PASSWORD: "1907****"
        MSSQL_PID: Express
    ports:
        - "1433:1433"
  redis:
   image: redis
   container_name: rediscache
   ports:
    -   "6379:6379"
  wisecrm:
    image: acrcrm.azurecr.io/wisecrm
    build:
      context: .
      dockerfile: WiseCRM/Dockerfile
    ports:
      - 8080:8080
    depends_on:
      - ms-sql-server
      - redis

How can I deploy the same repository to the different instance on Azure?

0 Answers
Related